Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

getgid - get real group ID of process

&pagelevel(4)&pagelevel

Syntax

#include <unistd.h>

Optional
#include <sys/types.h> (End)

gid_t getgid(void);

Description

getgid() returns the real group ID of the calling process.

Return val.

Real group ID of the calling process.

The function is always successful.

See also

getegid(), getuid(), setgid(), sys/types.h, unistd.h, td.h, manual "POSIX Basics" [1 (Related publications)].