Move the sources to trunk
[opencv] / apps / cvenv / include / fcntl.h
1 /*  This header file is machine generated. 
2 Modify EiC/config/genstdio.c, or the target independent source 
3 files it reads, in order to modify this file.  Any 
4 direct modifications to this file will be lost. 
5 */
6
7 #ifndef EiC_fcntl_H
8 #define EiC_fcntl_H
9
10 #pragma push_safeptr
11
12 #include <sys/types.h>
13 #include <sys/fcntl.h>
14
15 int open(const char *path, int access, ... /* mode_t mode */);
16 int creat(const char *path, mode_t amode);
17 int fcntl(int fd, int cmd, ... /* struct flock *flockptr*/);
18
19 #define O_BINARY      0
20 #define O_TEXT        0
21 #define FD_CLOEXEC      1
22 #define F_DUPFD 0
23 #define F_GETFD 1
24 #define F_GETFL 3
25 #define F_GETLK 5
26 #define F_SETFD 2
27 #define F_SETFL 4
28 #define F_SETLK 6
29 #define F_SETLKW        7
30 #define F_RDLCK 0
31 #define F_UNLCK 2
32 #define F_WRLCK 1
33 #define O_ACCMODE       3
34 #define O_APPEND        1024
35 #define O_CREAT 64
36 #define O_EXCL  128
37 #define O_NOCTTY        256
38 #define O_NONBLOCK      2048
39 #define O_RDONLY        0
40 #define O_RDWR  2
41 #define O_TRUNC 512
42 #define O_WRONLY        1
43
44 #pragma pop_ptr
45
46 #endif    /* end EiC_fcntl_H */