HPlogo MPE/iX Developer's Kit Reference Manual Volume I: HP 3000 MPE/iX Computer Systems > Chapter 4  POSIX/iX Library Function Descriptions

getgid

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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)

Feedback to webmaster