dpkg 1.21.11
Functions
dir.h File Reference

(62f5a5399)

#include <dpkg/macros.h>
#include <sys/types.h>
#include <dirent.h>
Include dependency graph for dir.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int dir_make_path (const char *path, mode_t mode)
 Create the directory and all its parents if necessary. More...
 
int dir_make_path_parent (const char *path, mode_t mode)
 
void dir_sync_path (const char *path)
 Sync a directory to disk from a pathname. More...
 
void dir_sync_path_parent (const char *path)
 Sync to disk the parent directory of a pathname. More...
 
void dir_sync_contents (const char *path)
 Sync to disk the contents and the directory specified. More...