|
|
1.1 root 1: #include <pwd.h>
2:
3: struct passwd *
4: getpwuid(uid)
5: register uid;
6: {
7: register struct passwd *p;
8: struct passwd *getpwent();
9:
10: setpwent();
11: while( (p = getpwent()) && p->pw_uid != uid );
12: endpwent();
13: return(p);
14: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.