Penguin
Note: You are viewing an old revision of this page. View the current version.

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.

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.