toaruos/base/usr/include/fcntl.h

14 lines
309 B
C
Raw Normal View History

#pragma once
#define O_RDONLY 0x0000
#define O_WRONLY 0x0001
#define O_RDWR 0x0002
#define O_APPEND 0x0008
#define O_CREAT 0x0200
#define O_TRUNC 0x0400
#define O_EXCL 0x0800
#define O_NOFOLLOW 0x1000
#define O_PATH 0x2000
extern int open (const char *, int, ...);