Annotation of coherent/a/usr/man/COHERENT/getpwuid, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: getpwuid()               General Function              getpwuid()
                      4: 
                      5: 
                      6: 
                      7: 
                      8: Get password file information, by id
                      9: 
                     10: #include <pwd.h>
                     11: ssttrruucctt ppaasssswwdd *ggeettppwwuuiidd(_u_i_d)
                     12: iinntt _u_i_d;
                     13: 
                     14: The  COHERENT  system  has five  routines  that  search the  file
                     15: /etc/passwd, which  contains information about every  user of the
                     16: system.  The  returned structure passwd is  defined in the header
                     17: file pwd.h.  For more information on this structure, see pwd.h.
                     18: 
                     19: getpwuid attempts  to find the first entry  with a numerical user
                     20: id of uid.
                     21: 
                     22: ***** Files *****
                     23: 
                     24: /etc/passwd
                     25: <pwd.h>
                     26: 
                     27: ***** See Also *****
                     28: 
                     29: endpwent(),  general  functions,  getpwent(), getpwnam(),  pwd.h,
                     30: setpwent()
                     31: 
                     32: ***** Diagnostics *****
                     33: 
                     34: getpwuid returns NULL for any error or on end of file.
                     35: 
                     36: ***** Notes *****
                     37: 
                     38: All structures  and information returned are  in static areas in-
                     39: ternal to getpwuid.   Therefore, information from a previous call
                     40: is overwritten by each subsequent call.
                     41: 
                     42: 
                     43: 
                     44: 
                     45: 
                     46: 
                     47: 
                     48: 
                     49: 
                     50: 
                     51: 
                     52: 
                     53: 
                     54: 
                     55: 
                     56: 
                     57: 
                     58: 
                     59: 
                     60: 
                     61: 
                     62: 
                     63: 
                     64: COHERENT Lexicon                                           Page 1
                     65: 
                     66: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.