ggeettggrrggiidd() -- General Function (libc)

Get group file information, by group id
#iinncclluuddee <ggrrpp.hh>
ssttrruucctt ggrroouupp *ggeettggrrggiidd(_g_i_d);
iinntt _g_i_d;

ggeettggrrggiidd() searches  file /eettcc/ggrroouupp for  the first entry  with a numerical
group id  of _g_i_d. It  returns a pointer  to the entry if  found; it returns
NULL if an error occurs or if the end of file is encountered.

_F_i_l_e_s
/eettcc/ggrroouupp
<ggrrpp.hh>

_S_e_e _A_l_s_o
ggrroouupp, lliibbcc
POSIX Standard, section 9.2.1

_N_o_t_e_s
All structures  and information returned  are in a static  area internal to
ggeettggrrggiidd(). Therefore,  information from a previous  call is overwritten by
each subsequent call.
