home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c082_144 / 7.ddi / XLIB.ZIP / FILES2.C < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-10  |  990 b   |  42 lines

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