From ba6a9e7734aaff8f4e7d49b888f9dd1954bc92b1 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 18 Apr 2012 12:22:24 -0400 Subject: legacy junk compatibility grab-bag - add the rest of the junk traditionally in sys/param.h - add prototypes for some nonstandard functions - add _GNU_SOURCE to their source files so the compiler can check proto --- include/unistd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/unistd.h') diff --git a/include/unistd.h b/include/unistd.h index 7662e518..ee7ee6d8 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -159,6 +159,8 @@ int setgroups(size_t, const gid_t []); int setresuid(uid_t, uid_t, uid_t); int setresgid(gid_t, gid_t, gid_t); char *get_current_dir_name(void); +int daemon(int, int); +int getdomainname(char *, size_t); #endif #define _XOPEN_VERSION 700 -- cgit v1.2.1