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

/solaris-x11-s12/open-src/app/xlock/sun-src/
H A Dxlock.c514 struct passwd *upw; local
519 upw = (struct passwd *)getpwuid(getuid());
520 if (upw == NULL) { /* should not pass NULL to getspnam */
524 user = upw->pw_name;
793 struct passwd *rpw, *upw; local
813 upw = getpwuid(getuid());
814 if (upw) {
815 user = upw->pw_name;
816 userpass = strdup(upw->pw_passwd);

Completed in 12 milliseconds