cctools
unlink_recursive.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2022 The University of Notre Dame
3
This software is distributed under the GNU General Public License.
4
See the file COPYING for details.
5
*/
6
7
#ifndef UNLINK_RECURSIVE_H
8
#define UNLINK_RECURSIVE_H
9
10
#include "
compat-at.h
"
11
12
#include <fcntl.h>
13
21
int
unlinkat_recursive
(
int
fd,
const
char
*path);
22
27
int
unlink_recursive
(
const
char
*path);
28
33
int
unlink_dir_contents
(
const
char
*path);
34
35
#endif
unlink_dir_contents
int unlink_dir_contents(const char *path)
Unlink only the contents of the directory recursively.
unlink_recursive
int unlink_recursive(const char *path)
Delete a path recursively.
compat-at.h
unlinkat_recursive
int unlinkat_recursive(int fd, const char *path)
Delete a path recursively.
dttools
src
unlink_recursive.h
Generated by
1.8.17