Returns 1 if the directory exists, 0 if it does not.
Walks the specified directory, returning all the files and/or directories as specified by flags.
Checks to see if any files in it's current directory contain files specified by spec. This uses wildcards to find things, so you can do something like "*.e" for spec to find files ending with '.e'. However, this returns an integer pointer if it finds anything, and a 0 if it finds nothing.
This is similar to has_files, except that has_subdirs checks the subdirectories instead of just the current directory for the specified files.
Returns true if the directory was successfully opened by a previous call to open_dir.
Open the directory for enumerating, returns true on success or false if an error occurred.