getgid [ MPE/iX Developer's Kit Reference Manual Volume I ] MPE/iX 5.0 Documentation
MPE/iX Developer's Kit Reference Manual Volume I
getgid
Returns the real group ID.
Syntax
#include <sys/types.h>
#include <unistd.h>
gid_t getgid (void);
Parameters
None.
Return Values
The real GID of the calling process.
Description
The getgid() function returns the real group ID (GID) of the calling
process.
Implementation Considerations
None.
Errors
None.
See Also
getegid(), geteuid(), getuid(), POSIX.1 (Section 4.2.1)
MPE/iX 5.0 Documentation