Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
div
eof
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

_get_fileinfo 

Gets the value of the _fileinfo variable, which determines what information about open files is passed to spawned processes.

Starting with Visual C++ 2005, _get_fileinfo is no longer supported in any Microsoft developer tools or libraries.


errno_t _get_fileinfo( 
   int * pFileInfo
);

Parameters

[out] pFileInfo

A pointer to an integer to be filled with the current value of _fileinfo.

Returns zero if successful; an error code on failure. If pFileInfo is NULL, the invalid parameter handler is invoked, as described in Parameter Validation. If execution is allowed to continue, this function returns EINVAL and sets errno to EINVAL.

The function gets the value of 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.

Routine Required header Compatibility

_get_fileinfo

None

None

Community Additions

ADD
Show:
© 2015 Microsoft