2010-10-19 16:18:24 +08:00
|
|
|
#ifndef __RTT_FCNTL_H__
|
|
|
|
#define __RTT_FCNTL_H__
|
|
|
|
|
|
|
|
/* Operation flags */
|
2011-04-20 23:09:28 +08:00
|
|
|
#define O_RDONLY 0x0000000
|
|
|
|
#define O_WRONLY 0x0000001
|
|
|
|
#define O_RDWR 0x0000002
|
|
|
|
#define O_ACCMODE 0x0000003
|
|
|
|
#define O_CREAT 0x0000100
|
|
|
|
#define O_EXCL 0x0000200
|
|
|
|
#define O_TRUNC 0x0001000
|
|
|
|
#define O_APPEND 0x0002000
|
|
|
|
#define O_DIRECTORY 0x0200000
|
2010-10-19 16:18:24 +08:00
|
|
|
|
|
|
|
#endif
|