Lines Matching refs:group
33 /* The group structure. */
34 struct group {
43 /* Set the group set for the current user to GROUPS (N of them). */
68 /* Rewind the group-file stream. */
71 /* Close the group-file stream. */
74 /* Read an entry from the group-file stream, opening it if necessary. */
75 extern struct group *getgrent(void);
77 /* Read a group entry from STREAM. */
78 extern struct group *fgetgrent(FILE *__stream);
81 extern int putgrent(__const struct group *__restrict __p,
84 /* Search for an entry with a matching group ID. */
85 extern struct group *getgrgid(gid_t __gid);
87 /* Search for an entry with a matching group name. */
88 extern struct group *getgrnam(__const char *__name);
98 extern int getgrent_r(struct group *__restrict __resultbuf,
100 struct group **__restrict __result);
102 /* Search for an entry with a matching group ID. */
103 extern int getgrgid_r(gid_t __gid, struct group *__restrict __resultbuf,
105 struct group **__restrict __result);
107 /* Search for an entry with a matching group name. */
109 struct group *__restrict __resultbuf,
111 struct group **__restrict __result);
113 /* Read a group entry from STREAM. This function is not standardized
116 struct group *__restrict __resultbuf,
118 struct group **__restrict __result);
120 /* Store at most *NGROUPS members of the group set for USER into
126 /* Initialize the group set for the current user
127 by reading the group database and using all groups