Luna/libc/include/bits/open-flags.h
apio 51f0bdff0e
All checks were successful
continuous-integration/drone/push Build is passing
kernel+libc: Add O_NONBLOCK
2023-03-19 11:25:14 +01:00

16 lines
266 B
C

/* bits/open-flags.h: O_* constants for open(). */
#ifndef _BITS_OPEN_FLAGS_H
#define _BITS_OPEN_FLAGS_H
#define O_RDONLY 1
#define O_WRONLY 2
#define O_RDWR 3
#define O_APPEND 4
#define O_CREAT 8
#define O_EXCL 16
#define O_TRUNC 32
#define O_NONBLOCK 64
#endif