aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-03 16:20:57 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-03 16:20:57 -0400
commit1db283bf19c3e2a41345895b887a88aea086cb29 (patch)
tree1483efd8d5469c2985795d6c6db132e1a1d9e9be /include
parent7fd3995282db788e33f1bfd7eea95b480d45c804 (diff)
downloadmusl-1db283bf19c3e2a41345895b887a88aea086cb29.zip
musl-1db283bf19c3e2a41345895b887a88aea086cb29.tar.gz
musl-1db283bf19c3e2a41345895b887a88aea086cb29.tar.bz2
add setresuid/setresgid functions (nonstandard)
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index a356111..35df1cd 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -154,6 +154,8 @@ int sethostname(const char *, size_t);
int usleep(unsigned);
unsigned ualarm(unsigned, unsigned);
int setgroups(int, const gid_t []);
+int setresuid(uid_t, uid_t, uid_t);
+int setresgid(gid_t, gid_t, gid_t);
#endif
#define _XOPEN_VERSION 700