about summary refs log tree commit diff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-04-18 12:22:24 -0400
committerRich Felker <dalias@aerifal.cx>2012-04-18 12:22:24 -0400
commitba6a9e7734aaff8f4e7d49b888f9dd1954bc92b1 (patch)
tree28ef639c9b7db5e76820f114697b71dda08de201 /include/unistd.h
parented0e3a357e5a5aef394b0b94d13c3a5c078f67f2 (diff)
downloadmusl-ba6a9e7734aaff8f4e7d49b888f9dd1954bc92b1.tar.gz
musl-ba6a9e7734aaff8f4e7d49b888f9dd1954bc92b1.tar.xz
musl-ba6a9e7734aaff8f4e7d49b888f9dd1954bc92b1.zip
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
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h2
1 files changed, 2 insertions, 0 deletions
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