os_select.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    os_select.h
00006  *
00007  *  select types
00008  *
00009  *  $Id: os_select.h 80826 2008-03-04 14:51:23Z wotte $
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_SYS_OS_SELECT_H
00017 #define ACE_OS_INCLUDE_SYS_OS_SELECT_H
00018 
00019 #include /**/ "ace/pre.h"
00020 
00021 #include "ace/config-lite.h"
00022 
00023 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00024 # pragma once
00025 #endif /* ACE_LACKS_PRAGMA_ONCE */
00026 
00027 #include "ace/os_include/sys/os_time.h"
00028 #include "ace/os_include/os_signal.h"
00029 #include "ace/os_include/os_unistd.h"
00030 
00031 #if !defined (ACE_LACKS_SYS_SELECT_H)
00032 #  include /**/ <sys/select.h>
00033 #endif /* !ACE_LACKS_SYS_SELECT_H */
00034 
00035 #if defined (ACE_VXWORKS) && defined (ACE_LACKS_SYS_SELECT_H)
00036 #  include /**/ <selectLib.h>
00037 #endif /* ACE_VXWORKS */
00038 
00039 // Place all additions (especially function declarations) within extern "C" {}
00040 #ifdef __cplusplus
00041 extern "C"
00042 {
00043 #endif /* __cplusplus */
00044 
00045 #if defined (ACE_WIN32)
00046    // This will help until we figure out everything:
00047 #  define NFDBITS 32 /* only used in unused functions... */
00048 #elif defined (__QNX__)
00049 #  if !defined (NFDBITS)
00050 #    define NFDBITS (sizeof(fd_mask) * NBBY)        /* bits per mask */
00051 #  endif /* ! NFDBITS */
00052 #endif /* ACE_WIN32 */
00053 
00054 #ifdef __cplusplus
00055 }
00056 #endif /* __cplusplus */
00057 
00058 #include /**/ "ace/post.h"
00059 #endif /* ACE_OS_INCLUDE_SYS_OS_SELECT_H */

Generated on Tue Feb 2 17:18:41 2010 for ACE by  doxygen 1.4.7