HomeSort by: relevance | last modified time | path
    Searched defs:tpwd (Results 1 - 1 of 1) sorted by relevancy

  /src/usr.sbin/pwd_mkdb/
pwd_mkdb.c 257 struct passwd pwd, *tpwd; local in function:main
415 if (getdbent(&sdb, _PW_KEYBYNAME, username, &tpwd))
419 olduid = tpwd->pw_uid;
479 rv = getdbent(&sdb, _PW_KEYBYNUM, &lineno, &tpwd);
483 } else if (rv == 1 || strcmp(username, tpwd->pw_name) != 0)
491 if (!getdbent(&sdb, _PW_KEYBYUID, &olduid, &tpwd)) {
492 if (strcmp(username, tpwd->pw_name) == 0) {
507 if (!getdbent(&sdb, _PW_KEYBYUID, &pwd.pw_uid, &tpwd))
508 if (strcmp(username, tpwd->pw_name) != 0)
930 getdbent(struct pwddb *db, int type, void *keyp, struct passwd **tpwd)
    [all...]

Completed in 12 milliseconds