File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / getgrgid
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



getgrgid()               General Function              getgrgid()




Get group file information, by group name

#include <grp.h>
ssttrruucctt ggrroouupp *ggeettggrrggiidd(_g_i_d);
iinntt _g_i_d;

getgrgid  searches file  /etc/group for  the  first entry  with a
numerical group id of gid.  It  returns a pointer to the entry if
found; it returns  NULL if an error occurs or  if the end of file
is encountered.

***** Files *****

/etc/group
<grp.h>

***** See Also *****

general functions, group

***** Notes *****

All structures and information  returned are in a static area in-
ternal to getgrgid.   Therefore, information from a previous call
is overwritten by each subsequent call.































COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.