diff options
Diffstat (limited to 'clients/net-snk/libc/ioctl.c')
-rw-r--r-- | clients/net-snk/libc/ioctl.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/clients/net-snk/libc/ioctl.c b/clients/net-snk/libc/ioctl.c new file mode 100644 index 0000000..64d666c --- /dev/null +++ b/clients/net-snk/libc/ioctl.c @@ -0,0 +1,20 @@ +/****************************************************************************** + * Copyright (c) 2004, 2007 IBM Corporation + * All rights reserved. + * This program and the accompanying materials + * are made available under the terms of the BSD License + * which accompanies this distribution, and is available at + * http://www.opensource.org/licenses/bsd-license.php + * + * Contributors: + * IBM Corporation - initial implementation + *****************************************************************************/ + + +#include "systemcall.h" + + +int ioctl(int fd, int request, void *data) +{ + return syscall_3 (_ioctl_sc_nr, fd, request, (long) data); +} |