way that open of /dev/fd/* works
SCCS-vsn: sys/sys/proc.h 7.18
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)proc.h 7.17 (Berkeley) %G%
+ * @(#)proc.h 7.18 (Berkeley) %G%
char p_time; /* resident time for scheduling */
char p_nice; /* nice for cpu usage */
char p_slptime; /* time since last block */
char p_time; /* resident time for scheduling */
char p_nice; /* nice for cpu usage */
char p_slptime; /* time since last block */
+ u_char p_dupfd; /* sideways return value from fdopen XXX */
int p_sig; /* signals pending to this process */
int p_sigmask; /* current signal mask */
int p_sigignore; /* signals being ignored */
int p_sig; /* signals pending to this process */
int p_sigmask; /* current signal mask */
int p_sigignore; /* signals being ignored */
gid_t p_svgid; /* saved effective group id */
pid_t p_pid; /* unique process id */
pid_t p_ppid; /* process id of parent */
gid_t p_svgid; /* saved effective group id */
pid_t p_pid; /* unique process id */
pid_t p_ppid; /* process id of parent */
- u_short p_xstat; /* Exit status for wait */
+ u_short p_xstat; /* Exit status for wait; also stop signal */
struct rusage *p_ru; /* exit information */
short p_poip; /* page outs in progress */
short p_szpt; /* copy of page table size */
struct rusage *p_ru; /* exit information */
short p_poip; /* page outs in progress */
short p_szpt; /* copy of page table size */