3 #include <sys/socket.h>
5 #include <netinet/in.h>
8 #include "compiler/compiler.h"
12 int _weak fallocate(int fd, int mode, off_t offset, off_t len)
18 #ifndef __NR_fallocate
19 int _weak posix_fallocate(int fd, off_t offset, off_t len)
25 int _weak inet_aton(const char *cp, struct in_addr *inp)
30 int _weak clock_gettime(clockid_t clk_id, struct timespec *ts)
35 ret = gettimeofday(&tv, NULL);
37 ts->tv_sec = tv.tv_sec;
38 ts->tv_nsec = tv.tv_usec * 1000;
43 #ifndef __NR_sync_file_range
44 int _weak sync_file_range(int fd, off64_t offset, off64_t nbytes,