| [Overview][Constants][Types][Procedures and functions][Variables][Index] | 
Seek to position in directory
Source position: unix.pp line 100
procedure SeekDir(  | 
p: pDir;  | 
loc: clong  | 
);  | 
SeekDir sets the directory pointer to the loc-th entry in the directory structure pointed to by p.
For an example, see #rtl.baseunix.fpOpenDir.
Extended error information is returned by the FpGetErrno function:
  | 
Close directory file descriptor  | 
|
  | 
Read entry from directory  | 
|
  | 
Open a directory for reading  | 
|
  | 
Return current location in a directory  |