File indexing completed on 2023-03-17 11:26:55
0001 #ifndef STORAGE_FACTORY_SYS_FILE_H
0002 #define STORAGE_FACTORY_SYS_FILE_H
0003
0004 #include <unistd.h>
0005 #include <sys/stat.h>
0006 #include <fcntl.h>
0007 #include <utime.h>
0008 #include <climits>
0009 #include <cerrno>
0010 #include <cstdlib>
0011 #include <sys/types.h>
0012 #include <sys/uio.h>
0013
0014 #if !defined O_SYNC && defined O_SYNCIO
0015 #define O_SYNC O_SYNCIO
0016 #endif
0017
0018 #if !defined O_NONBLOCK && defined O_NDELAY
0019 #define O_NONBLOCK O_NDELAY
0020 #endif
0021
0022 #ifndef O_NONBLOCK
0023 #define O_NONBLOCK 0
0024 #endif
0025
0026 #endif