Searched refs:netgrp (Results 1 – 2 of 2) sorted by relevance
/original-bsd/lib/libc/gen/ |
H A D | getnetgrent.c | 35 struct netgrp { struct 36 struct netgrp *ng_next; /* Chain ptr */ argument 44 static struct netgrp *nextgrp = (struct netgrp *)0; argument 46 struct netgrp *gr; 49 (struct netgrp *)0, 71 if (grouphead.gr == (struct netgrp *)0 || 113 register struct netgrp *gp, *ogp; in endnetgrent() 140 grouphead.gr = (struct netgrp *)0; in endnetgrent() 174 struct netgrp *grp; 196 grp = (struct netgrp *)malloc(sizeof (struct netgrp)); [all …]
|
/original-bsd/sbin/mountd/ |
H A D | mountd.c | 624 int len, has_host, exflags, got_nondir, dirplen, num, i, netgrp; in get_exportlist() local 790 netgrp = getnetgrent(&hst, &usr, &dom); in get_exportlist() 796 if (netgrp) { in get_exportlist() 808 } while (netgrp && getnetgrent(&hst, &usr, &dom)); in get_exportlist()
|