dpkg 1.21.11
Functions
dir.c File Reference

(6a9d238b1)

#include <config.h>
#include <compat.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <fcntl.h>
#include <dirent.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <dpkg/dpkg.h>
#include <dpkg/i18n.h>
#include <dpkg/dir.h>
Include dependency graph for dir.c:

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...