home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c065 / 1.ddi / CLIB1.ZIP / FILES2.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-06-07  |  1.4 KB  |  45 lines

  1. /*-----------------------------------------------------------------------*
  2.  * filename - files2.c
  3.  *
  4.  * function(s)
  5.  *      none
  6.  *----------------------------------------------------------------------*/
  7.  
  8. /*[]------------------------------------------------------------[]*/
  9. /*|                                                              |*/
  10. /*|     Turbo C Run Time Library - Version 3.0                   |*/
  11. /*|                                                              |*/
  12. /*|                                                              |*/
  13. /*|     Copyright (c) 1987,1988,1990 by Borland International    |*/
  14. /*|     All Rights Reserved.                                     |*/
  15. /*|                                                              |*/
  16. /*[]------------------------------------------------------------[]*/
  17.  
  18. #include <io.h>
  19. #include <fcntl.h>
  20.  
  21. /*---------------------------------------------------------------------*
  22.  
  23. Name        _openfd
  24.  
  25. Usage        unsigned int _openfd[];
  26.  
  27. Prototype in    not prototyped.
  28.  
  29. Description    array of access modes for file/devices
  30.  
  31. *---------------------------------------------------------------------*/
  32. unsigned int    _openfd[] =
  33. {
  34.     O_RDONLY | O_DEVICE,
  35.     O_WRONLY | O_DEVICE,
  36.     O_WRONLY | O_DEVICE,
  37.     O_RDWR     | O_DEVICE | O_BINARY,
  38.     O_WRONLY | O_DEVICE | O_BINARY,
  39.  
  40.     ~0,    ~0,    ~0,
  41.     ~0,    ~0,    ~0,    ~0,
  42.     ~0,    ~0,    ~0,    ~0,
  43.     ~0,    ~0,    ~0,    ~0
  44. };
  45.