19 lines
199 B
C
19 lines
199 B
C
#ifndef _FCNTL_H
|
|
#define _FCNTL_H
|
|
|
|
#define O_RDONLY 1
|
|
#define O_WRONLY 2
|
|
#define O_RDWR 3
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
int open(const char*, int);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif |