+ errno = ENOSYS;
+ return -1;
+}
+#endif
+
+#ifndef __NR_fallocate
+int _weak posix_fallocate(int fd, off_t offset, off_t len)
+{
+ return 0;
+}
+#endif
+
+int _weak inet_aton(const char *cp, struct in_addr *inp)
+{
+ return 0;
+}
+
+int _weak clock_gettime(clockid_t clk_id, struct timespec *ts)
+{
+ struct timeval tv;
+ int ret;
+
+ ret = gettimeofday(&tv, NULL);