comparison src/s/ptx4.h @ 21145:469c3de61eb1

(SETUP_SLAVE_PTY): New definition.
author Richard M. Stallman <rms@gnu.org>
date Thu, 12 Mar 1998 06:59:25 +0000
parents bad765e6a8d9
children 4dc06f8c8c33
comparison
equal deleted inserted replaced
21144:6988880cc529 21145:469c3de61eb1
11 #undef SIGINFO 11 #undef SIGINFO
12 12
13 /* Marcus Daniels <marcus@sysc.pdx.edu> says vfork does exist. */ 13 /* Marcus Daniels <marcus@sysc.pdx.edu> says vfork does exist. */
14 #define HAVE_VFORK 14 #define HAVE_VFORK
15 15
16 /* pae@dim.com (Phil Ernhardt) says this correction to
17 the definition in usg5-4.h is needed to prevent
18 all asynchronous subprocesses from exiting right away. */
19 #undef SETUP_SLAVE_PTY
20 #define SETUP_SLAVE_PTY \
21 if (ioctl (xforkin, I_PUSH, "ldterm") == -1) \
22 fatal ("ioctl I_PUSH ldterm", errno); \
23 if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \
24 fatal ("ioctl I_PUSH ttcompat", errno);