Luna/libc/include/bits/open-flags.h
apio 1a2fce5316
All checks were successful
continuous-integration/drone/push Build is passing
kernel+libc: Add the O_TMPFILE open flag and the tmpfile() function
2023-05-09 22:04:34 +02:00

21 lines
360 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
#define O_CLOEXEC 128
#define O_DIRECTORY 256
#define O_TMPFILE 512
#define O_ACCMODE O_RDWR
#endif