Debian Codegraph @

src/basic/sync-util.h

raw
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3
4 #include "basic-forward.h"
5
6 int fsync_directory_of_file(int fd);
7 int fsync_full(int fd);
8
9 int fsync_path_at(int at_fd, const char *path);
10 int fsync_parent_at(int at_fd, const char *path);
11 int fsync_path_and_parent_at(int at_fd, const char *path);
12
13 int syncfs_path(int at_fd, const char *path);