readdir_r_ts64()--Read Directory Entry


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

 int readdir_r_ts64(DIR * __ptr64 dirp,
                     struct dirent * __ptr64 entry,
                     struct dirent * __ptr64 * __ptr64 result);  
  Service Program Name: QP0LLIBTS

  Default Public Authority: *USE

  Threadsafe: Conditional; see Usage Notes for readdir_r().

The readdir_r_ts64() function initializes the dirent structure that is referenced by entry to represent the next directory entry in the directory stream that is associated with dirp. readdir_r_ts64() differs from readdir_r() in that it accepts 8-byte process local pointers.

For a discussion of the parameters, authorities required, return values, related information, usage notes, and an example for the readdir_r() API, see readdir_r()--Read Directory Entry.


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