home *** CD-ROM | disk | FTP | other *** search
- /* Copyright (c) 1984, 1986, 1987, 1988 AT&T */
- /* All Rights Reserved */
-
- /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
- /* The copyright notice above does not evidence any */
- /* actual or intended publication of such source code. */
-
- /* Copyright (c) 1987, 1988 Microsoft Corporation */
- /* All Rights Reserved */
-
- /* This Module contains Proprietary Information of Microsoft */
- /* Corporation and should be treated as Confidential. */
-
- #ident "@(#)head.sys:ioctl.h 1.3.1.2"
-
- /*
- * Ioctl commands
- */
- #define IOCTYPE 0xff00
-
- #define LIOC ('l'<<8)
- #define LIOCGETP (LIOC|1)
- #define LIOCSETP (LIOC|2)
- #define LIOCGETS (LIOC|5)
- #define LIOCSETS (LIOC|6)
-
- #define DIOC ('d'<<8)
- #define DIOCGETC (DIOC|1)
- #define DIOCGETB (DIOC|2)
- #define DIOCSETE (DIOC|3)
-
- /*
- ** Union for use by all device handler ioctl routines.
- */
- union ioctl_arg {
- struct termio *stparg; /* ptr to termio struct */
- struct Generic *sparg; /* ptr to generic struct */
- char *cparg; /* ptr to character */
- char carg; /* character */
- int *iparg; /* ptr to integer */
- int iarg; /* integer */
- long *lparg; /* ptr to long */
- long larg; /* long */
- };
-
- /*
- * Commands needed for XENIX ioctl() compatibility
- */
-
- #define TIOC ('T'<<8)
- #define TCFLSH (TIOC|7)
-