home *** CD-ROM | disk | FTP | other *** search
- #ifndef __sys_ioctl_h
- #define __sys_ioctl_h
-
- /* Freenet programmers library - sys/ioctl.h - 23/5/95 */
-
- #include "Internet:sys.h.filio"
- #include "Internet:sys.h.sockio"
-
- /*
- * Union for generic ioctl() argument handling
- */
- union ioctl_arg {
- char *cparg; /* Pointer to character */
- char carg; /* Character */
- int *iparg; /* Pointer to integer */
- int iarg; /* Integer */
- long *lparg; /* Pointer to long */
- long larg; /* Long */
- };
-
- /*
- * Prototype for ioctl()
- */
- extern int ioctl(int, int, ...);
-
- #endif
-