seekdir seekdir dirhandle, pos Sets the current position for the readdir routine on dirhandle. pos must be a value returned by telldir. This function has the same caveats about possible directory compaction as the corresponding system library routine.