home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 202.img / SCO386N2.TD0 / usr / include / sys / select.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-05-18  |  864 b   |  37 lines

  1. /*
  2.  *    @(#) select.h 1.1 88/05/18 
  3.  *
  4.  *    Copyright (C) The Santa Cruz Operation, 1988.
  5.  *    Copyright (C) Microsoft Corporation, 1988.
  6.  *    This Module contains Proprietary Information of
  7.  *    The Santa Cruz Operation, Microsoft Corporation
  8.  *    and AT&T, and should be treated as Confidential.
  9.  */
  10.  
  11. /*
  12.  * THIS FILE CONTAINS CODE WHICH IS DESIGNED TO BE
  13.  * PORTABLE BETWEEN DIFFERENT MACHINE ARCHITECTURES
  14.  * AND CONFIGURATIONS. IT SHOULD NOT REQUIRE ANY
  15.  * MODIFICATIONS WHEN ADAPTING XENIX TO NEW HARDWARE.
  16.  */
  17.  
  18. /*
  19.  * Code used internally for select system call.
  20.  */
  21. #define IOC_SELECT    0xffff
  22.  
  23. /*
  24.  * Selectable conditions for select system call
  25.  */
  26. #define    SELREAD        0x1
  27. #define    SELWRITE    0x2
  28. #define    SELEXCEPT    0x4
  29.  
  30. /*
  31.  * Structure used to specify timeout in select(2) system call.
  32.  */
  33. struct timeval {
  34.     long    tv_sec;        /* seconds */
  35.     long    tv_usec;    /* and microseconds */
  36. };
  37.