dpkg 1.21.11
|
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... | |
int dir_make_path | ( | const char * | path, |
mode_t | mode | ||
) |
Create the directory and all its parents if necessary.
path | The pathname to create directories for. |
mode | The pathname mode. |
References m_strdup().
int dir_make_path_parent | ( | const char * | path, |
mode_t | mode | ||
) |
References m_strdup().
Referenced by atomic_file_open().
void dir_sync_contents | ( | const char * | path | ) |
void dir_sync_path | ( | const char * | path | ) |
Sync a directory to disk from a pathname.
path | The name of the directory to sync. |
Referenced by dir_sync_path_parent(), write_filehash_except(), and write_filelist_except().
void dir_sync_path_parent | ( | const char * | path | ) |
Sync to disk the parent directory of a pathname.
path | The child pathname of the directory to sync. |
References dir_sync_path(), and m_strdup().
Referenced by writedb().