_set_fileinfo

Sets the default file translation mode for file I/O operations.

_get_fileinfo is no longer supported in any Microsoft developer tools or libraries.

errno_t _set_fileinfo( 
   int value 
);

Parameters

  • [in] value
    The new value of the _fileinfo variable.

Return Value

Returns zero.

Remarks

The function sets the _fileinfo global variable. This variable determines what information is passed to processes created with the spawn functions. For more information, see _spawn, _wspawn Functions.

Requirements

Routine

Required header

_set_fileinfo

None

See Also

Reference

_fmode

_get_fmode

_setmode

Text and Binary Mode File I/O

_get_fileinfo