home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 6
/
FreshFish_September1994.bin
/
gnu
/
man
/
cat2
/
getgid.0
< prev
next >
Wrap
Text File
|
1993-12-07
|
1KB
|
67 lines
GETGID(2) UNIX Programmer's Manual GETGID(2)
NNAAMMEE
ggeettggiidd, ggeetteeggiidd - get group process identification
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssyyss//ttyyppeess..hh>>
_g_i_d___t
ggeettggiidd(_v_o_i_d)
_g_i_d___t
ggeetteeggiidd(_v_o_i_d)
DDEESSCCRRIIPPTTIIOONN
The ggeettggiidd() function returns the real group ID of the calling process,
ggeetteeggiidd() returns the effective group ID of the calling process.
The real group ID is specified at login time.
The real group ID is the group of the user who invoked the program. As
the effective group ID gives the process additional permissions during
the execution of ``_s_e_t__g_r_o_u_p__I_D'' mode processes, ggeettggiidd() is used to de
termine the realuserid of the calling process.
EERRRROORRSS
The ggeettggiidd() and ggeetteeggiidd() functions are always successful, and no return
value is reserved to indicate an error.
SSEEEE AALLSSOO
getuid(2), setregid(2), setgid(3)
SSTTAANNDDAARRDDSS
GGeettggiidd() and ggeetteeggiidd() conform to IEEE Std 1003.11988 (``POSIX'').
4.2 Berkeley Distribution March 10, 1991 1