1: static  char *sccsid = "@(#)getpwuid.c 4.1 10/9/80";
   2: 
   3: #include <pwd.h>
   4: 
   5: struct passwd *
   6: getpwuid(uid)
   7: register uid;
   8: {
   9:     register struct passwd *p;
  10:     struct passwd *getpwent();
  11: 
  12:     setpwent();
  13:     while( (p = getpwent()) && p->pw_uid != uid );
  14:     endpwent();
  15:     return(p);
  16: }

Defined functions

getpwuid defined in line 5; never used

Defined variables

sccsid defined in line 1; never used
Last modified: 1980-10-09
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 672
Valid CSS Valid XHTML 1.0 Strict