skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

iopause.c (352B)


      1 /* ISC license. */
      2 
      3 #include <skalibs/sysdeps.h>
      4 #include <skalibs/iopause.h>
      5 
      6 #ifdef SKALIBS_HASPPOLL
      7 
      8 iopause_func_ref const iopause_ = &iopause_ppoll ;
      9 
     10 #else
     11 
     12 #include <skalibs/config.h>
     13 
     14 #ifdef SKALIBS_FLAG_PREFERSELECT
     15 
     16 iopause_func_ref const iopause_ = &iopause_select ;
     17 
     18 #else
     19 
     20 iopause_func_ref const iopause_ = &iopause_poll ;
     21 
     22 #endif
     23 
     24 #endif