home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
fish
/
languages
/
dice_466
/
netdcc
/
include
/
ioctl.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-01-12
|
796b
|
40 lines
/*
* IOCTL.H
*
* (c)Copyright 1990, Matthew Dillon, All Rights Reserved
*/
#ifndef _IOCTL_H
#define _IOCTL_H
#define IOF_CMD 0x00FF
#define IOF_GET 0x0000
#define IOF_SET 0x1000
#define IOC_READ 1
#define IOC_WRITE 2
#define IOC_DUP 3
#define IOC_SEEK 4
#define IOC_CLOSE 5
#define IOC_CEXEC 6
#define IOC_MODES 7
#define IOC_SIO 8 /* MS support */
#define IOC_ISATTY 9
#define IOC_SIGNAL 10 /* signal bit for fd */
#define IOC_POST_BREAK 11 /* propogate ^C through fd */
#define IOC_DOMAIN 12 /* what kind of descriptor are we? */
#define IOC_GETDESC 13 /* get actual low level desc. */
#define IODOM_AMIGADOS 0 /* AmigaDOS descriptor */
#define IODOM_MS 1 /* multi-stream descriptor */
extern int ioctl(int, int, void *);
#endif