Lines Matching refs:group
54 static size_t grmemlen(const struct group *, const char *, int *);
55 static struct group *grcopy(const struct group *gr, char *mem, const char *, int ndx);
61 gr_init(const char *dir, const char *group) in gr_init() argument
74 if (group == NULL) { in gr_init()
83 if (strlen(group) >= sizeof(group_file)) { in gr_init()
87 strcpy(group_file, group); in gr_init()
167 gr_copy(int ffd, int tfd, const struct group *gr, struct group *old_gr) in gr_copy()
170 struct group *fgr; in gr_copy()
171 const struct group *sgr; in gr_copy()
383 gr_equal(const struct group *gr1, const struct group *gr2) in gr_equal()
429 gr_make(const struct group *gr) in gr_make()
468 struct group *
469 gr_dup(const struct group *gr) in gr_dup()
476 struct group *
477 gr_add(const struct group *gr, const char *newmember) in gr_add()
516 static struct group *
517 grcopy(const struct group *gr, char *dst, const char *name, int ndx) in grcopy()
520 struct group *newgr; in grcopy()
522 newgr = (struct group *)(void *)dst; /* avoid alignment warning */ in grcopy()
564 grmemlen(const struct group *gr, const char *name, int *num_mem) in grmemlen()
600 __gr_scan(char *line, struct group *gr) in __gr_scan()
645 struct group *
648 struct group gr; in gr_scan()
650 struct group *new_gr; in gr_scan()