Lines Matching +full:function +full:- +full:group

41 .Nd group database operations
49 .Fn getgrent_r "struct group *grp" "char *buffer" "size_t bufsize" "struct group **result"
53 .Fn getgrnam_r "const char *name" "struct group *grp" "char *buffer" "size_t bufsize" "struct group
57 .Fn getgrgid_r "gid_t gid" "struct group *grp" "char *buffer" "size_t bufsize" "struct group **resu…
65 These functions operate on the group database file
66 .Pa /etc/group
69 .Xr group 5 .
71 .Vt group
75 .Bd -literal -offset indent
76 struct group {
77 char *gr_name; /* group name */
78 char *gr_passwd; /* group password */
79 gid_t gr_gid; /* group id */
80 char **gr_mem; /* group members */
88 search the group database for the given group name pointed to by
90 or the group id pointed to by
93 Identical group
94 names or group gids may result in undefined behavior.
98 function
99 sequentially reads the group database and is intended for programs
107 are thread-safe versions of
123 argument will be filled-in, and a pointer to that argument will be
131 These functions will open the group file for reading, if necessary.
135 function
139 is non-zero, file descriptors are left open, significantly speeding
145 be noted that it is dangerous for long-running programs to use this
146 functionality as the group file may be updated.
150 function
157 function
165 return a pointer to a group structure on success or
174 distinguish between a non-existent entry and an error.
188 The function
199 .Bl -tag -width /etc/group -compact
200 .It Pa /etc/group
201 group database file
204 The historic function
210 .Xr group 5 ,
223 .St -p1003.1-96 .
226 function differs from that standard in that its return type is
264 the same function