getegid man page on Ultrix

Man page or keyword search:  
man Server   3690 pages
apropos Keyword Search (all sections)
Output format
Ultrix logo
[printable version]

getgid(2)							     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)
[top]

List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
...................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net