OSDN Git Service

fcntl: add cancellation to fcntl64, use cancel.h
authorPeter S. Mazinger <ps.m@gmx.net>
Thu, 21 Apr 2011 21:03:32 +0000 (23:03 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 15 Jun 2012 12:00:41 +0000 (14:00 +0200)
commitf74f77b155bd34f75193179d7e4ce63ace771af3
tree0bd63d21e722c1786fc583552464c4bc4d426e33
parent4228d2f34cc0b3b70adc16cec499aeef034aece0
fcntl: add cancellation to fcntl64, use cancel.h

fcntl64 missed cancellation.
Guard fcntl64 for 32bit archs.
Reuse as much code as possible in __syscall_fcntl.c.
Provide alias fcntl64 if that syscall is not available.

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
include/fcntl.h
libc/sysdeps/linux/common/__syscall_fcntl.c
libc/sysdeps/linux/common/__syscall_fcntl64.c