home *** CD-ROM | disk | FTP | other *** search
- /****************************************************************************
- *
- * $Source: /unixb/home/unixlib/source/unixlib37/clib/sys/h/RCS/ioctl,v $
- * $Date: 1996/11/06 22:01:41 $
- * $Revision: 1.1 $
- * $State: Exp $
- * $Author: unixlib $
- *
- * $Log: ioctl,v $
- * Revision 1.1 1996/11/06 22:01:41 unixlib
- * Initial revision
- *
- ***************************************************************************/
-
- #ifndef __SYS_IOCTL_H
- #define __SYS_IOCTL_H
-
- #include <sys/filio.h>
- #include <sys/sockio.h>
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- /*
- * 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 */
- };
-
- extern int ioctl(int, int, void *);
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif
-