diff options
Diffstat (limited to 'posix/unistd.h')
-rw-r--r-- | posix/unistd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/posix/unistd.h b/posix/unistd.h index ffd83b2b1e..62c25fc09b 100644 --- a/posix/unistd.h +++ b/posix/unistd.h @@ -366,6 +366,12 @@ extern __gid_t getegid __P ((void)); extern int __getgroups __P ((int __size, __gid_t __list[])); extern int getgroups __P ((int __size, __gid_t __list[])); +#ifdef __USE_GNU +/* Return nonzero iff the calling process is in group GID. */ +extern int __group_member __P ((__gid_t __gid)); +extern int group_member __P ((__gid_t __gid)); +#endif + /* Set the user ID of the calling process to UID. If the calling process is the super-user, set the real and effective user IDs, and the saved set-user-ID to UID; |