create_dir.h
Go to the documentation of this file.
/*
Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
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 CREATE_DIR_H
#define CREATE_DIR_H
#include <sys/stat.h>
int create_dir (const char *path, mode_t mode);
int create_dir_parents (const char *path, mode_t mode);
#endif
/* vim: set noexpandtab tabstop=8: */
create_dir
int create_dir(const char *path, mode_t mode)
Create a new directory recursively.
create_dir_parents
int create_dir_parents(const char *path, mode_t mode)
Create needed parent directories of a file or directory.