home *** CD-ROM | disk | FTP | other *** search
- /*
- * fcntl.h -- non-ANSI
- *
- * Constants to control file opening and operations on file handles.
- *
- * Copyright (c) 1990, MetaWare Incorporated
- */
-
- #ifndef _FCNTL_H
- #define _FCNTL_H
-
- #define _O_RDONLY 0
- #define _O_WRONLY 1
- #define _O_RDWR 2
- #define _O_APPEND 8
-
- #define _O_NOINHERIT 128
-
- #define _O_CREAT 256
- #define _O_TRUNC 512
- #define _O_EXCL 1024
-
- #define _O_TEXT 0x4000
- #define _O_BINARY 0x8000
- #define _O_RAW 0x8000
-
- #ifdef __HIGHC__
-
- #define O_RDONLY _O_RDONLY
- #define O_WRONLY _O_WRONLY
- #define O_RDWR _O_RDWR
- #define O_APPEND _O_APPEND
-
- #define O_NOINHERIT _O_NOINHERIT
-
- #define O_CREAT _O_CREAT
- #define O_TRUNC _O_TRUNC
- #define O_EXCL _O_EXCL
-
- #define O_TEXT _O_TEXT
- #define O_BINARY _O_BINARY
- #define O_RAW _O_RAW
-
- #endif
-
- #endif /* _FCNTL_H */
-