|
@@ -80,13 +80,12 @@ CANCELABLE_SYSCALL (int, close, (int fd), (fd))
|
|
|
CANCELABLE_SYSCALL_VA (int, fcntl, (int fd, int cmd, ...),
|
|
|
(fd, cmd, va_arg (ap, long int)), cmd)
|
|
|
|
|
|
-#if defined __UCLIBC_HAS_LFS__ && __WORDSIZE == 32
|
|
|
+#if __WORDSIZE == 32
|
|
|
|
|
|
CANCELABLE_SYSCALL_VA (int, fcntl64, (int fd, int cmd, ...),
|
|
|
(fd, cmd, va_arg (ap, long int)), cmd)
|
|
|
#endif
|
|
|
|
|
|
-
|
|
|
|
|
|
CANCELABLE_SYSCALL (int, fsync, (int fd), (fd))
|
|
|
|
|
@@ -95,11 +94,9 @@ CANCELABLE_SYSCALL (int, fsync, (int fd), (fd))
|
|
|
CANCELABLE_SYSCALL (off_t, lseek, (int fd, off_t offset, int whence),
|
|
|
(fd, offset, whence))
|
|
|
|
|
|
-#ifdef __UCLIBC_HAS_LFS__
|
|
|
|
|
|
CANCELABLE_SYSCALL (off64_t, lseek64, (int fd, off64_t offset, int whence),
|
|
|
(fd, offset, whence))
|
|
|
-#endif
|
|
|
|
|
|
#if defined(__NR_msync) && defined(__ARCH_USE_MMU__)
|
|
|
|
|
@@ -122,11 +119,9 @@ CANCELABLE_SYSCALL_VA (int, open, (const char *pathname, int flags, ...),
|
|
|
(pathname, flags, va_arg (ap, mode_t)), flags)
|
|
|
|
|
|
|
|
|
-#ifdef __UCLIBC_HAS_LFS__
|
|
|
|
|
|
CANCELABLE_SYSCALL_VA (int, open64, (const char *pathname, int flags, ...),
|
|
|
(pathname, flags, va_arg (ap, mode_t)), flags)
|
|
|
-#endif
|
|
|
|
|
|
|
|
|
CANCELABLE_SYSCALL (int, pause, (void), ())
|
|
@@ -139,7 +134,7 @@ CANCELABLE_SYSCALL (ssize_t, pread, (int fd, void *buf, size_t count,
|
|
|
(fd, buf, count, offset))
|
|
|
|
|
|
|
|
|
-#if defined __UCLIBC_HAS_LFS__ && defined __NR_pread64
|
|
|
+#if defined __NR_pread64
|
|
|
|
|
|
CANCELABLE_SYSCALL (ssize_t, pread64, (int fd, void *buf, size_t count,
|
|
|
off64_t offset),
|
|
@@ -152,7 +147,7 @@ CANCELABLE_SYSCALL (ssize_t, pwrite, (int fd, const void *buf, size_t n,
|
|
|
(fd, buf, n, offset))
|
|
|
|
|
|
|
|
|
-#if defined __UCLIBC_HAS_LFS__ && defined __NR_pwrited64
|
|
|
+#if defined __NR_pwrited64
|
|
|
|
|
|
CANCELABLE_SYSCALL (ssize_t, pwrite64, (int fd, const void *buf, size_t n,
|
|
|
off64_t offset),
|