summaryrefslogtreecommitdiff
path: root/bsd-misc.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2000-11-05 09:08:45 +0000
committerBen Lindstrom <mouring@eviladmin.org>2000-11-05 09:08:45 +0000
commit67e21e1eb2366f4598f8ee483dfbacc92010a687 (patch)
tree7d62334093443926fdef24bcc4ceb9a84a9eb7d6 /bsd-misc.h
parentfd496053df95abd3046a46729b1a12ae540b07ad (diff)
- (bal) Reworked NEWS-OS and NeXT ports to extract waitpid() and
setsid() into more common files
Diffstat (limited to 'bsd-misc.h')
-rw-r--r--bsd-misc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bsd-misc.h b/bsd-misc.h
index 0546ef1fe..ae2b3ffff 100644
--- a/bsd-misc.h
+++ b/bsd-misc.h
@@ -27,6 +27,11 @@
27 27
28#include "config.h" 28#include "config.h"
29 29
30#ifndef HAVE_SETSID
31#define setsid() setpgrp(0, getpid())
32#endif /* !HAVE_SETSID */
33
34
30#ifndef HAVE_SETENV 35#ifndef HAVE_SETENV
31int setenv(const char *name, const char *value, int overwrite); 36int setenv(const char *name, const char *value, int overwrite);
32#endif /* !HAVE_SETENV */ 37#endif /* !HAVE_SETENV */