cctools
mkdir_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 MKDIR_RECURSIVE_H
8
#define MKDIR_RECURSIVE_H
9
10
#include "
compat-at.h
"
11
12
#include <fcntl.h>
13
#include <sys/stat.h>
14
24
int
mkdirat_recursive
(
int
fd,
const
char
*path, mode_t mode);
25
32
int
mkdir_recursive
(
const
char
*path, mode_t mode);
33
34
42
int
mkdirat_recursive_parents
(
int
fd,
const
char
*path, mode_t mode);
43
50
int
mkdir_recursive_parents
(
const
char
*path, mode_t mode);
51
52
#endif
mkdir_recursive_parents
int mkdir_recursive_parents(const char *path, mode_t mode)
Create needed parent directories of a file or directory.
mkdirat_recursive_parents
int mkdirat_recursive_parents(int fd, const char *path, mode_t mode)
Create needed parent directories of a file or directory.
mkdir_recursive
int mkdir_recursive(const char *path, mode_t mode)
Create a new directory recursively.
mkdirat_recursive
int mkdirat_recursive(int fd, const char *path, mode_t mode)
Create a new directory recursively.
compat-at.h
dttools
src
mkdir_recursive.h
Generated by
1.8.17