21 lines
283 B
C
21 lines
283 B
C
/* fcntl.h: File control. */
|
|
|
|
#ifndef _FCNTL_H
|
|
#define _FCNTL_H
|
|
|
|
#include <bits/open-flags.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
/* Open a file path and return a file descriptor to it. */
|
|
int open(const char* path, int flags, ...);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|