OS.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // OS.inl,v 4.5 2006/05/30 10:23:44 jwillemsen Exp
00003 
00004 #if !defined (ACE_HAS_INLINED_OSCALLS)
00005 # undef ACE_INLINE
00006 # define ACE_INLINE
00007 #endif /* ACE_HAS_INLINED_OSCALLS */
00008 
00009 #if defined (ACE_HAS_XLI)
00010 # include /**/ <xliuser.h>
00011 #endif /* ACE_HAS_XLI */
00012 
00013 #if !defined (ACE_HAS_CPLUSPLUS_HEADERS)
00014 # include /**/ <libc.h>
00015 # include /**/ <osfcn.h>
00016 #endif /* ACE_HAS_CPLUSPLUS_HEADERS */
00017 
00018 #if defined (ACE_HAS_SYSENT_H)
00019 # include /**/ <sysent.h>
00020 #endif /* ACE_HAS_SYSENT_H */
00021 
00022 #if defined (ACE_USES_STD_NAMESPACE_FOR_STDC_LIB) && \
00023             (ACE_USES_STD_NAMESPACE_FOR_STDC_LIB != 0)
00024 using std::bsearch;
00025 using std::qsort;
00026 # if defined (ACE_WIN32)
00027 using std::_tzset;
00028 # else
00029 using std::tzset;
00030 # endif
00031 using std::ctime;
00032 using std::localtime;
00033 using std::gmtime;
00034 using std::asctime;
00035 using std::strftime;
00036 #endif /* ACE_USES_STD_NAMESPACE_FOR_STDC_LIB */
00037 
00038 #if !defined (ACE_LACKS_MALLOC_H)
00039 # include /**/ <malloc.h>
00040 #endif /* ACE_LACKS_MALLOC_H */
00041 
00042 #if !defined (ACE_WIN32)
00043 
00044 // Matthew Stevens 7-10-95 Fix GNU GCC 2.7 for memchr() problem.
00045 # if defined (ACE_HAS_GNU_CSTRING_H)
00046 // Define this file to keep /usr/include/memory.h from being included.
00047 #   include /**/ <cstring>
00048 # else
00049 #   if defined (ACE_LACKS_MEMORY_H)
00050 #     include "ace/os_include/os_string.h"
00051 #   else
00052 #     include /**/ <memory.h>
00053 #   endif /* ACE_LACKS_MEMORY_H */
00054 # endif /* ACE_HAS_GNU_CSTRING_H */
00055 
00056 // The following are #defines and #includes that must be visible for
00057 // ACE to compile it's OS wrapper class implementation correctly.  We
00058 // put them inside of here to reduce compiler overhead if we're not
00059 // inlining...
00060 
00061 # if defined (ACE_HAS_REGEX)
00062 #   include /**/ <regexpr.h>
00063 # endif /* ACE_HAS_REGEX */
00064 
00065 # if defined (ACE_HAS_SYSINFO)
00066 #   include /**/ <sys/systeminfo.h>
00067 # endif /* ACE_HAS_SYS_INFO */
00068 
00069 # if defined (ACE_HAS_SYS_SYSCALL_H)
00070 #   include /**/ <sys/syscall.h>
00071 # endif /* ACE_HAS_SYS_SYSCALL_H */
00072 
00073 # if defined (UNIXWARE)  /* See strcasecmp, below */
00074 #   include /**/ <ctype.h>
00075 # endif /* UNIXWARE */
00076 
00077 # if defined (ACE_HAS_GETIFADDRS)
00078 #   include /**/ <ifaddrs.h>
00079 # endif /* ACE_HAS_GETIFADDRS */
00080 
00081 
00082 #endif /* WIN32 */
00083 
00084 #if defined (ACE_HAS_SHM_OPEN) && defined(INTEGRITY)
00085 #include "ace/os_include/sys/os_mman.h"
00086 #endif
00087 
00088 // ****************************************************************
00089 

Generated on Thu Nov 9 09:41:57 2006 for ACE by doxygen 1.3.6