unlink_recursive.h File Reference


Detailed Description

Unlink recursively.

Go to the source code of this file.

Functions

int unlink_recursive (const char *path)
 Delete a path recursively.
int unlink_dir_contents (const char *dirname)
 Unlink only the contents of the directory recursively.


Function Documentation

int unlink_recursive ( const char *  path  ) 

Delete a path recursively.

Parameters:
path The path to unlink recursively.
Returns:
0 on success, -1 on failure.

int unlink_dir_contents ( const char *  dirname  ) 

Unlink only the contents of the directory recursively.

Parameters:
dirname The path of the directory.
Returns:
0 on success, -1 on failure.


Generated on 15 Apr 2015 for cctools by  doxygen 1.4.7