standard.C.io.seekdir

seekdir is available since version 1.0.

Prototype:

null-returned seekdir(number dir_descriptor, number position);

Parameters

dir_descriptor
a valid directory identifier returned by the opendir function.
position
the new desired position.

Description:

The seekdir() function sets the position of the next readdir operation on the directory stream. The new position reverts to the one associated with the directory stream when the telldir operation was performed.

Return value: