Lines Matching defs:up
290 struct username *up;
298 up = lookup(uid);
299 if (up)
300 (void) printf("%-10s", up->u_name);
389 struct username *up;
391 for (up = uhead[uid % UHASH]; up != 0; up = up->u_next)
392 if (up->u_uid == uid)
393 return (up);
396 up = adduid(pwp->pw_uid);
397 (void) strncpy(up->u_name, pwp->pw_name, sizeof (up->u_name));
398 return (up);
408 struct username *up, **uhp;
410 up = calloc(1, sizeof (struct username));
411 if (up == 0) {
417 up->u_next = *uhp;
418 *uhp = up;
419 up->u_uid = uid;
420 return (up);