tools/adflib: build only host variant which is used by Sam440 target
[AROS.git] / workbench / network / stacks / AROSTCP / netlib / ioctl.c
blob69c0c2987dc67490b7df4f803eff6c83513e0770
1 /* $Id$
3 * ioctl.c - set file control information
5 * Copyright © 1994 AmiTCP/IP Group,
6 * Network Solutions Development Inc.
7 * All rights reserved.
8 */
10 #include <sys/param.h>
11 #include <sys/socket.h>
13 int ioctl(int fd, unsigned int request, char *argp)
15 int success;
18 * IoctlSocket will return EBADF if the d is not socket
20 success = IoctlSocket(fd, request, argp);
23 * Maybe the EBADF should be converted to EINVAL if the fd is an usual file?
26 return success;