Commit | Line | Data |
---|---|---|
c5c8bd5c JA |
1 | #ifndef FIO_HELPERS_H |
2 | #define FIO_HELPERS_H | |
3 | ||
3b2e1464 JA |
4 | #include "compiler/compiler.h" |
5 | ||
c5c8bd5c JA |
6 | struct in_addr; |
7 | ||
8 | extern int __weak posix_memalign(void **ptr, size_t align, size_t size); | |
9 | extern int __weak posix_fallocate(int fd, off_t offset, off_t len); | |
10 | extern int __weak inet_aton(const char *cp, struct in_addr *inp); | |
2afd826b | 11 | extern int __weak clock_gettime(clockid_t clk_id, struct timespec *ts); |
a54cf034 JA |
12 | extern int __weak sync_file_range(int fd, off64_t offset, off64_t nbytes, |
13 | unsigned int flags); | |
c5c8bd5c JA |
14 | |
15 | #endif |