Lines Matching defs:_pw_passwd
107 static struct passwd _pw_passwd; /* password structure */
310 return (rval) ? &_pw_passwd : NULL;
323 return (rval) ? &_pw_passwd : NULL;
404 memset(&_pw_passwd, 0, sizeof(_pw_passwd));
405 _pw_passwd.pw_name = strsep(&bp, ":\n"); /* name */
406 if (search && name && strcmp(_pw_passwd.pw_name, name))
409 _pw_passwd.pw_passwd = strsep(&bp, ":\n"); /* passwd */
416 _pw_passwd.pw_uid = (uid_t)id;
417 if (search && name == NULL && _pw_passwd.pw_uid != uid)
425 _pw_passwd.pw_gid = (gid_t)id;
434 if (!(_pw_passwd.pw_gecos = strsep(&bp, ":\n"))) /* gecos */
436 if (!(_pw_passwd.pw_dir = strsep(&bp, ":\n"))) /* directory */
438 if (!(_pw_passwd.pw_shell = strsep(&bp, ":\n"))) /* shell */