diff options
author | Guillem Jover <guillem@hadrons.org> | 2010-12-17 10:50:56 +0100 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2011-05-14 13:43:41 +0200 |
commit | 5b19adfa82b49bdb9b46c857b618c181f238290b (patch) | |
tree | 46c2c2487b10bf0533458da97309332f32c50444 /include/bsd | |
parent | acb7c42d7c394acf9a59c14e5aaf4f43be309acb (diff) | |
download | libbsd-5b19adfa82b49bdb9b46c857b618c181f238290b.tar.gz |
Add getpeereid function
Diffstat (limited to 'include/bsd')
-rw-r--r-- | include/bsd/unistd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/bsd/unistd.h b/include/bsd/unistd.h index f9f7874..2a22fbc 100644 --- a/include/bsd/unistd.h +++ b/include/bsd/unistd.h @@ -39,6 +39,8 @@ mode_t getmode(const void *set, mode_t mode); void *setmode(const char *mode_str); void setproctitle(const char *fmt, ...); + +int getpeereid(int s, uid_t *euid, gid_t *egid); __END_DECLS #endif |