/* Copyright (C) vx_clutch * * This file is part of yait * * This project and file is licenced under the BSD-3-Clause licence. * */ #ifndef FILE_H #define FILE_H #include /* Constants for file operations */ #define DEFAULT_DIR_PERMISSIONS 0755 #define MAX_PATH_LENGTH 1024 int create_and_enter_directory (const char *dirname); int create_file_with_content (char *path, char *format, ...); int create_directory (char *format, ...); #endif