Lines Matching full:mode
45 * the ISO mode specification.
52 int mode = O_RDONLY; in _sys_open() local
71 mode |= (O_RDWR | O_TRUNC | O_CREAT); in _sys_open()
75 mode |= (O_RDWR | O_APPEND | O_CREAT); in _sys_open()
78 mode |= O_RDWR; in _sys_open()
84 mode |= (O_WRONLY | O_TRUNC | O_CREAT); in _sys_open()
88 mode |= (O_WRONLY | O_APPEND | O_CREAT); in _sys_open()
92 fd = open(name, mode, 0); in _sys_open()
134 * `mode' exists for historical reasons and must be ignored.
136 int _sys_read(FILEHANDLE fh, unsigned char *buf, unsigned len, int mode) in _sys_read() argument
170 * `mode' exists for historical reasons and must be ignored.
172 int _sys_write(FILEHANDLE fh, const unsigned char *buf, unsigned len, int mode) in _sys_write() argument