ultrix man page for getgid

Query: getgid

OS: ultrix

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

getgid(2)							System Calls Manual							 getgid(2)

Name
       getgid, getegid - get group identity

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

       gid = getgid()
       gid_t gid;

       egid = getegid()
       gid_t egid;

Description
       The system call returns the real group ID of the current process, and the call returns the effective group ID.

       The real group ID is specified at login time.

       The  effective  group  ID is more transient and determines additional access permission during execution of a ``set-group-ID'' process. The
       call is most useful with processes that are ``set-group-ID.''

Environment
       Differs from the System V definition in that the return values are of type int, instead of type unsigned short.

See Also
       getuid(2), setregid(2), setgid(3)

																	 getgid(2)
Related Man Pages
geteuid(2) - opensolaris
getuid(2) - opensolaris
getgid(2) - freebsd
getegid(2) - osf1
getgid(2) - osf1
Similar Topics in the Unix Linux Community
How to check if there is only one row in the file?
How command is executed
SLD: Failed to start the PMD Connection thread. (PM_THREAD_FAILED_TO_START).
Can't submit a form.
Moving XML tag/contents after specific XML tag within same file