#ifndef UNLINK_DIRECTORY_H
#define UNLINK_DIRECTORY_H
enum unlink_directory_flags {
/* After unlinking all files, rmdir() the directory itself */
/* Don't unlink any files beginning with "." */
/* Don't recurse into subdirectories */
};
Returns 1 if successful, 0 if error is ENOENT, -1 if other error.
The returned error message contains the exact syscall that failed,
e.g. "open(path) failed: Permission denied"
In case of ENOENT error, error message is also set. */
const char **error_r);
#endif