RmDir

result% = RmDir(dirname$)

Deletes an existing empty directory.

On success, zero is returned.

On error, -1 is returned, and errno is set appropriately.

See also MkDir