Penguin
Blame: getresgid(2)
EditPageHistoryDiffInfoLikePages
Annotated edit history of getresgid(2) version 3, including all changes. View license author blame.
Rev Author # Line
1 perry 1 !!NAME
2 PerryLorier 2 getresgid - get real, effective and saved group ID
1 perry 3 !!SYNOPSIS
4
2 PerryLorier 5 __#include <unistd.h>__
1 perry 6
7
2 PerryLorier 8 __int getresgid(gid_t *__''rgid''__, gid_t *__''egid''__, gid_t *__''sgid''__);__
1 perry 9 !!DESCRIPTION
3 PerryLorier 10 getresgid(2) (both introduced in Linux 2.1.44) get the [RealID], [EffectiveID] and [SavedID]'s of the current process.
1 perry 11
12 !!RETURN VALUE
2 PerryLorier 13 On success, zero is returned. On error, -1 is returned, and ''errno'' is set appropriately.
1 perry 14
15 !!ERRORS
2 PerryLorier 16 ;[EFAULT]: One of the arguments specified an address outside the calling program's address space.
1 perry 17
18 !!CONFORMING TO
2 PerryLorier 19 This call is Linux-specific.
1 perry 20
21 !!SEE ALSO
2 PerryLorier 22 getuid(2), setuid(2), getreuid(2), setreuid(2), setresuid(2)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 6 times)