diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2016-05-27 18:04:25 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2016-05-27 18:04:25 +0100 |
commit | cfef0c6658be29967f883997ba7139ca3bdef2ba (patch) | |
tree | be0b41d18c5a8c8ecd4a230b35b8b089e52f8d03 /compat.h | |
parent | 20d97eb849282ae2ca5ff543f6826d689a07199a (diff) |
getprogname() and setproctitle() on Linux.
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -223,6 +223,16 @@ size_t strlcat(char *, const char *, size_t); int daemon(int, int); #endif +#ifndef HAVE_GETPROGNAME +/* getprogname.c */ +const char *getprogname(void); +#endif + +#ifndef HAVE_SETPROCTITLE +/* setproctitle.c */ +void setproctitle(const char *, ...); +#endif + #ifndef HAVE_B64_NTOP /* b64_ntop.c */ #undef b64_ntop /* for Cygwin */ |