home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
prog
/
c
/
pdc.lzh
/
File1
< prev
next >
Wrap
Text File
|
1991-08-04
|
592b
|
24 lines
/*
* PDC I/O Library Copyright (C) 1987 by J.A. Lydiatt.
* Freely Distributable for non-commercial use.
*/
#define O_RDONLY 0
#define O_WRONLY 1
#define O_RDWR 2
#define O_CREAT 0x0100
#define O_TRUNC 0x0200
#define O_EXCL 0x0400
#define O_APPEND 0x0800
#define O_CONRAW 0x4000
#define O_STDIO 0x8000
struct _device { /* An unbuffered I/O device entry. */
long _fileHandle; /* AmigaDos File Handle. */
short _mode; /* How it was opened. */
};
extern struct _device *_devtab; /* ^ device table allocated in _main */
extern short _numdev; /* Number of devices available. */