Go to the previous, next section.

rmdir

SYNOPSIS

int rmdir(const char *path);

PARAMETERS

path: [in] points to path of directory to remove.

DESCRIPTION

Removes a directory. The directory to be removed must be empty.

RETURN VALUE

On success, returns zero. On error, returns -1 and sets errno to one of the following value:

Go to the previous, next section.