#ifndef __FCNTL_H
#define __FCNTL_H

#define O_RDONLY	0x0000	/* open for reading only */
#define O_WRONLY	0x0001	/* open for writing only */
#define O_RDWR 	0x0002	/* open for reading and writing */
#define O_APPEND	0x0008	/* writes done at eof */

#define O_CREAT	0x0100	/* create and open file */
#define O_TRUNC	0x0200	/* open and truncate */
#define O_EXCL 	0x0400	/* open only if file doesn't already exist */
#define O_BINARY       0x8000  /* file mode is binary (untranslated) */

#endif