Luna/libc/include/bits/open-flags.h

17 lines
288 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
#endif