Penguin

NAME

getgid - get real group identity

SYNOPSIS

#include <unistd.h> #include <sys/types.h>

gid_t getgid(void);

DESCRIPTION

getgid(2) returns the real group ID of the current process. A process may be a member of multiple groups, see getgroups(2) for more information.

The real ID corresponds to the ID of the calling process. See RealID for more information.

ERRORS

These functions are always successful.

CONFORMING TO

POSIX, BSD 4.3

SEE ALSO

setregid(2), setgid(2), getegid(2), getuid(2)

This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.

lib/main.php:944: Notice: PageInfo: Cannot find action page

lib/main.php:839: Notice: PageInfo: Unknown action