Download User Manual

Transcript
G-4500 Series User Manual
6.2.9 PC_RMDir

Description:
Delete the directory specified in path. Fails if path is not a directory, is read only or is
not empty.

Syntax:
BOOLEAN pc_rmdir(char *name)

Parameter:
Name : Name of directory to be deleted.

Return:
TRUE if the directory was successfully removed, otherwise FALSE. If FALSE is
returned, get_errno will return one of these values:
PENOENT - Directory not found
PEACCES - Not a directory, not empty or in use
PENOSPC - Write failed
62
Publication August, 2013 Ver. 1.15