Home | History | Annotate | Download | only in pwd_mkdb

Lines Matching defs:tpwd

257 	struct passwd pwd, *tpwd;
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)
1030 *tpwd = &pwd;