mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
Update.
* sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Likewise.
This commit is contained in:
parent
13277fe1f6
commit
76d0a2c4ab
@ -3,6 +3,7 @@
|
||||
* sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Change
|
||||
prototype to use variable argument lists and get the possible one
|
||||
argument via va_arg.
|
||||
* sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Likewise.
|
||||
|
||||
2003-09-04 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
|
@ -26,8 +26,15 @@
|
||||
|
||||
|
||||
int
|
||||
__fcntl_nocancel (int fd, int cmd, void *arg)
|
||||
__fcntl_nocancel (int fd, int cmd, ...)
|
||||
{
|
||||
va_list ap;
|
||||
void *arg;
|
||||
|
||||
va_start (ap, cmd);
|
||||
arg = va_arg (ap, void *);
|
||||
va_end (ap);
|
||||
|
||||
return INLINE_SYSCALL (fcntl, 3, fd, cmd, arg);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user