Clib Remove Directory Method

The Clib Remove Directory method removes a directory. It returns one of the following values:

  • If successful, then it returns the following value:

    0

  • If not successful, then it returns the following value:

    Negative 1

Format

Clib.rmdir(dirpath)

The following table describes the arguments for the Clib Remove Directory method.

Argument Description

dirpath

The directory that this method removes. This argument can reference an absolute path or a relative path.