@node _fmode, stdio @subheading Syntax @example #include extern int _fmode; @end example @subheading Description This variable may be set to @code{O_TEXT} or @code{O_BINARY} to specify the mode that newly opened files should be opened in if the open call did not specify. @xref{open}. @xref{fopen}. The default value is @code{O_TEXT}. @subheading Portability @portability !ansi, !posix @subheading Example @example _fmode = O_BINARY; @end example