00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file os_aio.h 00006 * 00007 * asynchronous input and output (REALTIME) 00008 * 00009 * os_aio.h,v 1.2 2003/07/19 19:04:15 dhinton Exp 00010 * 00011 * @author Don Hinton <dhinton@dresystems.com> 00012 * @author This code was originally in various places including ace/OS.h. 00013 */ 00014 //============================================================================= 00015 00016 #ifndef ACE_OS_INCLUDE_OS_AIO_H 00017 #define ACE_OS_INCLUDE_OS_AIO_H 00018 00019 #include /**/ "ace/pre.h" 00020 00021 #include "ace/config-all.h" 00022 00023 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00024 # pragma once 00025 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00026 00027 // Inclusion of the <aio.h> header may make visible symbols defined in 00028 // the headers <fcntl.h>, <signal.h>, <sys/types.h>, and <time.h>. 00029 00030 #include "ace/os_include/os_signal.h" // for sigevent 00031 00032 #if !defined (ACE_LACKS_AIO_H) 00033 # include /**/ <aio.h> 00034 #endif /* !ACE_LACKS_AIO_H */ 00035 00036 // Place all additions (especially function declarations) within extern "C" {} 00037 #ifdef __cplusplus 00038 extern "C" 00039 { 00040 #endif /* __cplusplus */ 00041 00042 #ifdef __cplusplus 00043 } 00044 #endif /* __cplusplus */ 00045 00046 #include /**/ "ace/post.h" 00047 #endif /* ACE_OS_INCLUDE_OS_AIO_H */