1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
* sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Likewise.
This commit is contained in:
Andreas Jaeger
2003-09-05 07:58:18 +00:00
parent 13277fe1f6
commit 76d0a2c4ab
2 changed files with 9 additions and 1 deletions

View File

@ -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);
}