getpwuid_r_ts64()--Get User Information for User ID


  Syntax
 #include <sys/types.h>
 #include <pwd.h>

 int getpwuid_r_ts64(
        uid_t uid,
        struct passwd * __ptr64 pwd,
        char * __ptr64 buffer,
        size_t bufsize,
        struct passwd * __ptr64 * __ptr64 result);    
  Service Program Name: QSYPAPI64

  Default Public Authority: *USE

  Threadsafe: Yes

The getpwuid_r_ts64() function updates the passwd structure pointed to by pwd and stores a pointer to that structure in the location pointed to by result. The structure contains an entry from the user database with a matching UID. getpwuid_r_ts64() differs from getpwuid_r() in that it accepts 8-byte teraspace pointers.

For a discussion of the parameters, authorities required, return values, related information, usage notes, and an example for the getpwuid_r() API, see getpwuid_r()--Get User Information for User ID.


API introduced: V5R1
Top | UNIX-Type APIs | APIs by category