diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2000-11-17 03:47:20 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2000-11-17 03:47:20 +0000 |
commit | 49a79c09762613f29601ef2470d13952168021be (patch) | |
tree | 140539420c10c5b358481cadcec495a5a41103fd /bsd-misc.h | |
parent | baaa2c05dd789bdce64fa7eb5697a5f969d68288 (diff) |
- (stevek) Reworked progname support.
- (bal) Misplaced #include "includes.h" in bsd-setproctitle.c. Patch by
Shinichi Maruyama <marya@st.jip.co.jp>
I assume the progname patch was finished. I believe stevek is on vacation,
but it passes compiling under Linux and NeXTStep.
Diffstat (limited to 'bsd-misc.h')
-rw-r--r-- | bsd-misc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bsd-misc.h b/bsd-misc.h index ae2b3ffff..d8376562a 100644 --- a/bsd-misc.h +++ b/bsd-misc.h | |||
@@ -27,11 +27,12 @@ | |||
27 | 27 | ||
28 | #include "config.h" | 28 | #include "config.h" |
29 | 29 | ||
30 | char *get_progname(char *argv0); | ||
31 | |||
30 | #ifndef HAVE_SETSID | 32 | #ifndef HAVE_SETSID |
31 | #define setsid() setpgrp(0, getpid()) | 33 | #define setsid() setpgrp(0, getpid()) |
32 | #endif /* !HAVE_SETSID */ | 34 | #endif /* !HAVE_SETSID */ |
33 | 35 | ||
34 | |||
35 | #ifndef HAVE_SETENV | 36 | #ifndef HAVE_SETENV |
36 | int setenv(const char *name, const char *value, int overwrite); | 37 | int setenv(const char *name, const char *value, int overwrite); |
37 | #endif /* !HAVE_SETENV */ | 38 | #endif /* !HAVE_SETENV */ |