home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 6
/
FreshFish_September1994.bin
/
new
/
dev
/
c
/
hce
/
include
/
clib
/
fcntl.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-09-02
|
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