mkdir_recursive.h
Go to the documentation of this file.
/*
Copyright (C) 2022 The University of Notre Dame
This software is distributed under the GNU General Public License.
See the file COPYING for details.
*/
#ifndef MKDIR_RECURSIVE_H
#define MKDIR_RECURSIVE_H
#include "compat-at.h"
#include <fcntl.h>
#include <sys/stat.h>
int mkdirat_recursive(int fd, const char *path, mode_t mode);
int mkdir_recursive(const char *path, mode_t mode);
int mkdirat_recursive_parents(int fd, const char *path, mode_t mode);
int mkdir_recursive_parents(const char *path, mode_t mode);
#endif
compat-at.h
at syscall compatibility layer.
mkdir_recursive
int mkdir_recursive(const char *path, mode_t mode)
Create a new directory recursively.
mkdir_recursive_parents
int mkdir_recursive_parents(const char *path, mode_t mode)
Create needed parent directories of a file or directory.
mkdirat_recursive
int mkdirat_recursive(int fd, const char *path, mode_t mode)
Create a new directory recursively.
mkdirat_recursive_parents
int mkdirat_recursive_parents(int fd, const char *path, mode_t mode)
Create needed parent directories of a file or directory.