delete_dir.h File Reference


Detailed Description

Delete a directory recursively.

Go to the source code of this file.

Functions

int delete_dir (const char *dir)
 Delete a directory recursively.
int delete_dir_contents (const char *dir)
 Delete only the contents of the directory recursively.


Function Documentation

int delete_dir ( const char *  dir  ) 

Delete a directory recursively.

Parameters:
dir The full path of the directory to delete.
Returns:
0 on success, -1 on failure.

int delete_dir_contents ( const char *  dir  ) 

Delete only the contents of the directory recursively.

Parameters:
dir The full path of the directory to delete.
Returns:
0 on success, -1 on failure.


Generated on 18 Feb 2013 for cctools by  doxygen 1.4.7