home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJLSR201.ZIP / src / libc / dos / io / fmode.txh < prev    next >
Encoding:
Text File  |  1995-07-10  |  438 b   |  24 lines

  1. @node _fmode, stdio
  2. @subheading Syntax
  3.  
  4. @example
  5. #include <fcntl.h>
  6.  
  7. extern int _fmode;
  8. @end example
  9.  
  10. @subheading Description
  11.  
  12. This variable may be set to @code{O_TEXT} or @code{O_BINARY} to specify
  13. the mode that newly opened files should be opened in if the open call
  14. did not specify.  @xref{open}. @xref{fopen}.
  15.  
  16. The default value is @code{O_TEXT}.
  17.  
  18. @subheading Example
  19.  
  20. @example
  21. _fmode = O_BINARY;
  22. @end example
  23.  
  24.