ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libptytty/src/ptytty.C
(Generate patch)

Comparing libptytty/src/ptytty.C (file contents):
Revision 1.49 by sf-exg, Wed Jan 18 20:05:13 2012 UTC vs.
Revision 1.53 by root, Thu May 22 18:54:32 2014 UTC

7 * Copyright (c) 2004-2006 Marc Lehmann <schmorp@schmorp.de> 7 * Copyright (c) 2004-2006 Marc Lehmann <schmorp@schmorp.de>
8 * Copyright (c) 2006 Emanuele Giaquinta <e.giaquinta@glauco.it> 8 * Copyright (c) 2006 Emanuele Giaquinta <e.giaquinta@glauco.it>
9 * 9 *
10 * This program is free software; you can redistribute it and/or modify 10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by 11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or 12 * the Free Software Foundation; either version 3 of the License, or
13 * (at your option) any later version. 13 * (at your option) any later version.
14 * 14 *
15 * This program is distributed in the hope that it will be useful, 15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25#include "config.h" 25#include "config.h"
26 26
27#include "ptytty.h" 27#include "ptytty.h"
28 28
29#include <stdlib.h> 29#include <stdlib.h>
30#include <cstdio> 30#include <stdio.h>
31#include <cstring> 31#include <string.h>
32 32
33#include <sys/types.h> 33#include <sys/types.h>
34#include <sys/stat.h> 34#include <sys/stat.h>
35#include <unistd.h> 35#include <unistd.h>
36#include <fcntl.h> 36#include <fcntl.h>
37 37
38#ifdef HAVE_SYS_IOCTL_H 38#ifdef HAVE_SYS_IOCTL_H
39# include <sys/ioctl.h> 39# include <sys/ioctl.h>
40#endif 40#endif
41#if defined(HAVE_SYS_STROPTS_H) 41#ifdef HAVE_STROPTS_H
42# include <sys/stropts.h> /* for I_PUSH */
43#endif
44#if defined(HAVE_ISASTREAM) && defined(HAVE_STROPTS_H)
45# include <stropts.h> 42# include <stropts.h>
46#endif 43#endif
47#if defined(HAVE_PTY_H) 44#if defined(HAVE_PTY_H)
48# include <pty.h> 45# include <pty.h>
49#elif defined(HAVE_LIBUTIL_H) 46#elif defined(HAVE_LIBUTIL_H)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines