CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SysFile.h
Go to the documentation of this file.
1 #ifndef STORAGE_FACTORY_SYS_FILE_H
2 #define STORAGE_FACTORY_SYS_FILE_H
3 
4 #include <unistd.h>
5 #include <sys/stat.h>
6 #include <fcntl.h>
7 #include <utime.h>
8 #include <climits>
9 #include <cerrno>
10 #include <cstdlib>
11 #include <sys/types.h>
12 #include <sys/uio.h>
13 
14 #if !defined O_SYNC && defined O_SYNCIO
15 #define O_SYNC O_SYNCIO
16 #endif
17 
18 #if !defined O_NONBLOCK && defined O_NDELAY
19 #define O_NONBLOCK O_NDELAY
20 #endif
21 
22 #ifndef O_NONBLOCK
23 #define O_NONBLOCK 0
24 #endif
25 
26 #endif // STORAGE_FACTORY_SYS_FILE_H