summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-23 19:35:19 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:42 +0200
commit295d4b49a6b55d9fb3eaa8200dc69c98e2eb1220 (patch)
treec36e3707b1de16c4e4325eab6e7f47c1b3b24a21 /libpthread/linuxthreads.old
parent9c4fce55a245fa921a0699e12361d1ff7fe73efb (diff)
wrapsyscall.c: add cancellable fcntl64
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/linuxthreads.old')
-rw-r--r--libpthread/linuxthreads.old/wrapsyscall.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libpthread/linuxthreads.old/wrapsyscall.c b/libpthread/linuxthreads.old/wrapsyscall.c
index e419e54f0..790cc200a 100644
--- a/libpthread/linuxthreads.old/wrapsyscall.c
+++ b/libpthread/linuxthreads.old/wrapsyscall.c
@@ -81,6 +81,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)
+#ifdef __UCLIBC_HAS_LFS__
+/* fcntl64(2). */
+CANCELABLE_SYSCALL_VA (int, fcntl64, (int fd, int cmd, ...),
+ (fd, cmd, va_arg (ap, long int)), cmd)
+#endif
+
/* fsync(2). */
CANCELABLE_SYSCALL (int, fsync, (int fd), (fd))