home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff314.lha
/
zc
/
zc.lzh
/
include
/
fcntl.h
< prev
next >
Wrap
C/C++ Source or Header
|
1989-05-11
|
588b
|
26 lines
/*
* FCNTL.H
*/
#ifndef FCNTL_H
#define FCNTL_H
#define O_RDONLY 0x00 /* read only */
#define O_WRONLY 0x01 /* write only */
#define O_RDWR 0x02 /* read/write */
#define O_APPEND 0x10 /* position at EOF */
#define O_CREAT 0x20 /* create new file if needed */
#define O_TRUNC 0x40 /* make file 0 length */
#define O_EXCL 0x80 /* error if file exists */
/*
* AmigaDOS specific stuff
*/
#define O_STDIO 0x1000 /* stdin or stdout */
struct _device {
long mode; /* The flags used to open device */
long fileHandle; /* handle returned from AmigaDOS */
};
#endif FCNTL_H