… | |
… | |
28 | #include "config.h" |
28 | #include "config.h" |
29 | |
29 | |
30 | #include "ptytty.h" |
30 | #include "ptytty.h" |
31 | |
31 | |
32 | #include <cstdlib> |
32 | #include <cstdlib> |
|
|
33 | #include <cstdio> |
33 | #include <cstring> |
34 | #include <cstring> |
34 | #include <csignal> |
|
|
35 | |
35 | |
36 | #include <sys/types.h> |
36 | #include <sys/types.h> |
37 | #include <sys/stat.h> |
37 | #include <sys/stat.h> |
38 | #include <unistd.h> |
38 | #include <unistd.h> |
39 | #include <fcntl.h> |
39 | #include <fcntl.h> |
… | |
… | |
55 | # include <util.h> |
55 | # include <util.h> |
56 | #endif |
56 | #endif |
57 | #ifdef TTY_GID_SUPPORT |
57 | #ifdef TTY_GID_SUPPORT |
58 | #include <grp.h> |
58 | #include <grp.h> |
59 | #endif |
59 | #endif |
60 | |
|
|
61 | #include <cstdio> |
|
|
62 | |
60 | |
63 | ///////////////////////////////////////////////////////////////////////////// |
61 | ///////////////////////////////////////////////////////////////////////////// |
64 | |
62 | |
65 | /* ------------------------------------------------------------------------- * |
63 | /* ------------------------------------------------------------------------- * |
66 | * GET PSEUDO TELETYPE - MASTER AND SLAVE * |
64 | * GET PSEUDO TELETYPE - MASTER AND SLAVE * |