Commit | Line | Data |
---|---|---|
c5c8bd5c JA |
1 | #ifndef FIO_HELPERS_H |
2 | #define FIO_HELPERS_H | |
3 | ||
93bcfd20 | 4 | #include <sys/types.h> |
3d2d14bc SW |
5 | |
6 | #include "os/os.h" | |
03e20d68 | 7 | |
67bf9823 JA |
8 | extern int fallocate(int fd, int mode, off_t offset, off_t len); |
9 | extern int posix_fallocate(int fd, off_t offset, off_t len); | |
10 | extern int sync_file_range(int fd, off64_t offset, off64_t nbytes, | |
a54cf034 | 11 | unsigned int flags); |
67bf9823 | 12 | extern int posix_fadvise(int fd, off_t offset, off_t len, int advice); |
c5c8bd5c | 13 | |
03e20d68 | 14 | #endif /* FIO_HELPERS_H_ */ |