From 5b19adfa82b49bdb9b46c857b618c181f238290b Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 17 Dec 2010 10:50:56 +0100 Subject: Add getpeereid function --- include/bsd/unistd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/bsd') 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 -- cgit v1.2.3