Lines Matching defs:grp
28 #include <grp.h>
35 putgrent(const struct group *grp, FILE *fp)
40 if (grp == NULL) {
45 grp->gr_name != NULL ? grp->gr_name : "",
46 grp->gr_passwd != NULL ? grp->gr_passwd : "",
47 grp->gr_gid) == EOF)
50 mem = grp ->gr_mem;
69 struct group *grp;
75 while ((grp = getgrent()) != NULL)
76 (void) putgrent(grp, stdout);
92 ((grp = getgrgid(gid)) == NULL)) {
93 grp = getgrnam(*list);
95 if (grp == NULL)
98 (void) putgrent(grp, stdout);