|
|
1.1 ! root 1: ! 2: ! 3: getgrgid() General Function getgrgid() ! 4: ! 5: ! 6: ! 7: ! 8: Get group file information, by group name ! 9: ! 10: #include <grp.h> ! 11: ssttrruucctt ggrroouupp *ggeettggrrggiidd(_g_i_d); ! 12: iinntt _g_i_d; ! 13: ! 14: getgrgid searches file /etc/group for the first entry with a ! 15: numerical group id of gid. It returns a pointer to the entry if ! 16: found; it returns NULL if an error occurs or if the end of file ! 17: is encountered. ! 18: ! 19: ***** Files ***** ! 20: ! 21: /etc/group ! 22: <grp.h> ! 23: ! 24: ***** See Also ***** ! 25: ! 26: general functions, group ! 27: ! 28: ***** Notes ***** ! 29: ! 30: All structures and information returned are in a static area in- ! 31: ternal to getgrgid. Therefore, information from a previous call ! 32: is overwritten by each subsequent call. ! 33: ! 34: ! 35: ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.