word FileDeleteDir( /* Returns error & sets thread's error value */
const char * name); /* Relative path of directory to delete */
This argument deletes an existing directory. The parameter is a string which specifies the directory's position relative to the current working directory. The last element of the path string must be the name of the directory to delete.
If
FileDeleteDir()
is successful, it returns zero and clears the thread's error value. Otherwise, it returns an error code and sets the thread's error value (accessible via
ThreadGetError()
). The following errors are returned:
See Also: FileCreateDir().
Include: file.h
FileHandle FileDuplicateHandle( /* Sets thread's error value */
FileHandle fh);
This routine duplicates the handle of an open file and returns the duplicate handle. The duplicate handle has the same read/write position as the original. Both handles will have to be closed for the file to be closed. If there is an error,
FileDuplicateHandle()
returns a null handle and sets the thread's error value (accessible via
ThreadGetError()
).
Include: file.h
GEOS SDK TechDocs
|
|
FileCreate() ...
|
FileEnum() ...