[Overview][Constants][Types][Procedures and functions] |
Remove a directory.
Source position: line 0
function FpRmdir( |
path: pChar |
):cInt; |
path: AnsiString |
):cInt; |
FpRmdir removes the directory Path from the system. The directory must be empty for this call to succeed, and the user must have the necessary permissions in the parent directory. Only the last component of the directory is removed, i.e. higher-lying directories are not removed.
On success, zero is returned. A nonzero return value indicates failure.
Extended error information can be retrieved using fpGetErrno.