standard.C.io._rmdir

_rmdir is available since version 1.0.

Prototype:

number _rmdir(string directory_path)

Parameters

directory_path
the directory to be removed

Description:

The _rmdir function deletes the directory specified by directory_path. The directory must be empty. See also _unlink and remove.

Return value:

_rmdir returns 0 if successful. Otherwise, the function returns -1.