comparison src/s/sol2-3.h @ 11964:03de0dfc6657

(VFORK_RETURN_TYPE): Moved here from s/sol2-4.h.
author Karl Heuer <kwzh@gnu.org>
date Sat, 27 May 1995 01:08:00 +0000
parents cb9697be9f33
children a3b8903f3de0
comparison
equal deleted inserted replaced
11963:bfb07760304d 11964:03de0dfc6657
47 fatal ("could not enable slave pty"); \ 47 fatal ("could not enable slave pty"); \
48 strncpy(pty_name, ptyname, sizeof(pty_name)); \ 48 strncpy(pty_name, ptyname, sizeof(pty_name)); \
49 pty_name[sizeof(pty_name) - 1] = 0; \ 49 pty_name[sizeof(pty_name) - 1] = 0; \
50 } 50 }
51 51
52 /* David Miller <davem@caip.rutgers.edu> says vfork fails on 2.4. */ 52 /* David Miller <davem@caip.rutgers.edu> says vfork fails on 2.4.
53 /* Brendan Kehoe <brendan@zen.org> says it also fails on 2.3. */ 53 Brendan Kehoe <brendan@zen.org> says it also fails on 2.3.
54 So we'll use the alternate definition in sysdep.c.
55 But a header file has a declaration
56 that would conflict with the definition of vfork in sysdep.c.
57 So we'll choose the return type to match the system header. */
54 #undef HAVE_VFORK 58 #undef HAVE_VFORK
59 #define VFORK_RETURN_TYPE pid_t