18 #pragma GCC system_header
19 #include_next <fcntl.h>
21 #ifndef _COBALT_FCNTL_H
22 #define _COBALT_FCNTL_H
24 #include <cobalt/wrappers.h>
30 COBALT_DECL(
int, open(
const char *path,
int oflag, ...));
32 COBALT_DECL(
int, open64(
const char *path,
int oflag, ...));
34 COBALT_DECL(
int, fcntl(
int fd,
int cmd, ...));