CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/Utilities/StorageFactory/src/SysFile.h

Go to the documentation of this file.
00001 #ifndef STORAGE_FACTORY_SYS_FILE_H
00002 # define STORAGE_FACTORY_SYS_FILE_H
00003 
00004 # include <unistd.h>
00005 # include <sys/stat.h>
00006 # include <fcntl.h>
00007 # include <utime.h>
00008 # include <limits.h>
00009 # include <cerrno>
00010 # include <cstdlib>
00011 
00012 # if !defined O_SYNC && defined O_SYNCIO
00013 #  define O_SYNC O_SYNCIO
00014 # endif
00015 
00016 # if !defined O_NONBLOCK && defined O_NDELAY
00017 #  define O_NONBLOCK O_NDELAY
00018 # endif
00019 
00020 # ifndef O_NONBLOCK
00021 #  define O_NONBLOCK 0
00022 # endif
00023 
00024 #endif // STORAGE_FACTORY_SYS_FILE_H