Searched refs:UNMLEN (Results 1 – 4 of 4) sorted by relevance
/freebsd/bin/pax/ |
H A D | cache.h | 47 #define UNMLEN 32 /* >= user name found in any protocol */ macro 62 char name[UNMLEN]; /* uid name */
|
H A D | cache.c | 217 (void)strncpy(ptr->name, pw->pw_name, UNMLEN - 1); in name_uid() 218 ptr->name[UNMLEN-1] = '\0'; in name_uid() 344 (void)strncpy(ptr->name, name, UNMLEN - 1); in uid_name() 345 ptr->name[UNMLEN-1] = '\0'; in uid_name()
|
/freebsd/contrib/libc-pwcache/ |
H A D | pwcache.h | 50 #define UNMLEN 32 /* >= user name found in any protocol */ macro 65 char name[UNMLEN]; /* uid name */
|
H A D | pwcache.c | 305 (void)snprintf(ptr->name, UNMLEN, "%lu", (long) uid); in user_from_uid() 316 (void)strlcpy(ptr->name, pw->pw_name, UNMLEN); in user_from_uid() 445 (void)strlcpy(ptr->name, name, UNMLEN); in uid_from_user()
|