os.Path.dirnext

Reads the next entry in the directory opened with os.Path.diropen().

Syntax

os.Path.dirnext(
   dirhandle INTEGER)
  RETURNING direntry STRING
  1. dirhandle is the directory handle of the directory to read.
  2. direntry is the name of the entry read or NULL if all entries have been read.

Usage

This function retruns the next entry of the directory opened with os.Path.diropen().