Searched refs:pPWEntry (Results 1 – 1 of 1) sorted by relevance
231 struct passwd *pPWEntry; in getUserName() local238 pPWEntry = getpwuid( getuid()); in getUserName()240 if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) in getUserName()241 pPWEntry = NULL; in getUserName()244 if (pPWEntry != NULL && pPWEntry->pw_name != NULL) in getUserName()246 sal_Int32 nLen = strlen(pPWEntry->pw_name); in getUserName()249 memcpy (pName, pPWEntry->pw_name, nLen); in getUserName()
Completed in 17 milliseconds