getgrnam_r_ts64()--Get Group Information Using Group Name


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

 int getgrnam_r_ts64(
        const char * __ptr64 name,
        struct group * __ptr64 grp,
        char * __ptr64 buffer,
        size_t bufsize,
        struct group * __ptr64 * __ptr64 result);    
  Service Program Name: QSYPAPI64

  Default Public Authority: *USE

  Threadsafe: Yes

The getgrnam_r_ts64() function updates the group structure pointed to by grp 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 name. getgrnam_r_ts64() differs from getgrnam_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 getgrnam_r() API, see getgrnam_r()--Get Group Information Using Group Name.


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