|
|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T U i
Length: 952 (0x3b8)
Types: TextFile
Notes: UNIX file
Names: »ioctl.h«
└─⟦a6ab2eb36⟧ Bits:30004042/kconfig3.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦a6ab2eb36⟧ UNIX Filesystem
└─⟦this⟧ »kc/new/usr/include/sys/ioctl.h«
/* Copyright (c) 1984 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. */
#ident "@(#)ioctl.h 1.4"
/*
* 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 */
};