Searched refs:groupfile (Results 1 - 2 of 2) sorted by relevance

/freebsd-9.3-release/usr.sbin/pw/
H A Dedgroup.c63 char groupfile[MAXPATHLEN]; local
66 strncpy(groupfile, getgrpath(_GROUP), MAXPATHLEN - 5);
67 groupfile[MAXPATHLEN - 5] = '\0';
68 strcpy(grouptmp, groupfile);
71 if ((infd = open(groupfile, O_RDWR | O_CREAT | O_EXLOCK, 0644)) != -1) {
213 rc = rename(grouptmp, groupfile) == 0;
/freebsd-9.3-release/libexec/mknetid/
H A Dmknetid.c65 char *groupfile = _PATH_GROUP; variable
118 groupfile = optarg;
147 if ((gfp = fopen(groupfile, "r")) == NULL) {
148 err(1, "%s", groupfile);

Completed in 141 milliseconds