diff options
Diffstat (limited to 'src/lib/fdatasync-path.h')
-rw-r--r-- | src/lib/fdatasync-path.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/fdatasync-path.h b/src/lib/fdatasync-path.h new file mode 100644 index 0000000..1da6e6e --- /dev/null +++ b/src/lib/fdatasync-path.h @@ -0,0 +1,7 @@ +#ifndef FDATASYNC_PATH_H +#define FDATASYNC_PATH_H + +/* Open and fdatasync() the path. Works for files and directories. */ +int fdatasync_path(const char *path); + +#endif |