Opening and reading from z/OS UNIX file system directory files

To open a z/OS® UNIX file system directory, you can use the opendir() function.

You can use the following library functions to read from, and position within, z/OS UNIX file system directories:
  • readdir()
  • seekdir()
  • telldir()

To close a directory, use the closedir() function.