open_dir
Core (file.inc)
Description
open_dir - Opens a directory for reading.
Syntax
open_dir ( dir[], buffer[], length )
Type
Native
Notes
Returns a handle to read the directory. Stores the first file found in the buffer.
Returns 0 on failure. If successful, you must call close_dir on the handle when done.