Home
last modified time | relevance | path

Searched refs:pwtmp (Results 1 – 1 of 1) sorted by relevance

/dflybsd-src/usr.sbin/pw/
H A Dpw_vpw.c57 static char pwtmp[1024]; in vnextpwent() local
59 strlcpy(pwtmp, getpwpath(_MASTERPASSWD), sizeof(pwtmp)); in vnextpwent()
61 if (pwd_fp != NULL || (pwd_fp = fopen(pwtmp, "r")) != NULL) { in vnextpwent()
66 while (!done && fgets(pwtmp, sizeof pwtmp, pwd_fp) != NULL) in vnextpwent()
70 char * p = strchr(pwtmp, '\n'); in vnextpwent()
73 while (fgets(pwtmp, sizeof pwtmp, pwd_fp) != NULL && strchr(pwtmp, '\n')==NULL) in vnextpwent()
79 if (*pwtmp =='\n' || *pwtmp == '#') in vnextpwent()
83 q = p = pwtmp; in vnextpwent()