getprogname() and setproctitle() on Linux.

This commit is contained in:
Nicholas Marriott
2016-05-27 18:04:25 +01:00
parent 20d97eb849
commit cfef0c6658
6 changed files with 154 additions and 4 deletions

View File

@ -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 */