3 * ioctl.c - set file control information
5 * Copyright © 1994 AmiTCP/IP Group,
6 * Network Solutions Development Inc.
10 #include <sys/param.h>
11 #include <sys/socket.h>
13 int ioctl(int fd
, unsigned int request
, char *argp
)
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?