CMS 3D CMS Logo

IOStatus.h

Go to the documentation of this file.
00001 #ifndef CLASSLIB_SYSAPI_IO_STATUS_H
00002 # define CLASSLIB_SYSAPI_IO_STATUS_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "classlib/sysapi/system.h"
00007 # ifdef _WIN32
00008 #  include <windows.h>
00009 # else
00010 #  include <unistd.h>
00011 #  include <sys/stat.h>
00012 #  include <fcntl.h>
00013 # endif
00014 
00015 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00016 
00017 # ifndef S_ISDIR
00018 #  define S_ISDIR(_M)            ((_M & S_IFMT)==S_IFDIR)
00019 #  define S_ISCHR(_M)            ((_M & S_IFMT)==S_IFCHR)
00020 #  define S_ISBLK(_M)            ((_M & S_IFMT)==S_IFBLK)
00021 #  define S_ISREG(_M)            ((_M & S_IFMT)==S_IFREG)
00022 #  define S_ISFIFO(_M)           ((_M & S_IFMT)==S_IFIFO)
00023 #  define S_ISSOCK(_M)           ((_M & S_IFMT)==S_IFSOCK)
00024 #  define S_ISLNK(_M)            ((_M & S_IFMT)==S_IFLNK)
00025 # endif
00026 
00027 # ifndef S_IFNWK
00028 #  define S_IFNWK               0
00029 #  define S_ISNWK(_M)           (0)
00030 # endif
00031 
00032 # ifndef S_IFCDF
00033 #  define S_IFCDF               0
00034 #  define S_ISCDF(_M)           (0)
00035 # endif
00036 
00037 # ifndef S_TYPEISMQ
00038 #  define S_TYPEISMQ(b)         (0)
00039 # endif
00040 
00041 # ifndef S_TYPEISSEM
00042 #  define S_TYPEISSEM(b)        (0)
00043 # endif
00044 
00045 # ifndef S_TYPEISSHM
00046 #  define S_TYPEISSHM(b)        (0)
00047 # endif
00048 
00049 # ifndef S_TYPEISMO
00050 #  define S_TYPEISMO(b)         (0)
00051 # endif
00052 
00053 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00054 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00055 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00056 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00057 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00058 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00059 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00060 
00061 #endif // CLASSLIB_SYSAPI_IO_STATUS_H

Generated on Tue Jun 9 17:38:52 2009 for CMSSW by  doxygen 1.5.4