1: /* Copyright 1993,1994 by Paul Vixie
2: * All rights reserved
3: *
4: * Distribute freely, except: don't remove my name from the source or
5: * documentation (don't take credit for my work), mark your changes (don't
6: * get me blamed for your possible bugs), don't alter or remove this
7: * notice. May be sold if buildable source is provided to buyer. No
8: * warrantee of any kind, express or implied, is included with this
9: * software; use at your own risk, responsibility for damages (if any) to
10: * anyone resulting from the use of this software rests entirely with the
11: * user.
12: *
13: * Send bug reports, bug fixes, enhancements, requests, flames, etc., and
14: * I'll try to keep a version up to date. I can be reached as follows:
15: * Paul Vixie <paul@vix.com> uunet!decwrl!vixie!paul
16: */
17:
18: #include <stdlib.h>
19: #include <unistd.h>
20: #include <string.h>
21: #include <sys/dir.h>
22:
23: #define DIR_T struct direct
24: #define WEXITSTATUS(x) ((x).w_retcode)
25: #define WTERMSIG(x) ((x).w_termsig)
26: #define WCOREDUMP(x) ((x).w_coredump)
27:
28: extern int setsid __P((void));
Defined macros
DIR_T
defined in line
23; used 1 times
Usage of this include