xv6-simplified 0.1
简化版xv6
Loading...
Searching...
No Matches
fcntl.h
Go to the documentation of this file.
1
10#define O_RDONLY 0x000 // 只读
11#define O_WRONLY 0x001 // 只写
12#define O_RDWR 0x002 // 读写
13#define O_APPEND 0x004 // 写入数据时追加末尾
14#define O_CREATE 0x40 // 若不存在则创建
15#define O_TRUNC 0x400 // 若存在则删除
16#define O_DIRECTORY 0x200000 // 目录