You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both _filelength and _filelengthi64 return the file length, in bytes, of the target file associated with fd. If fd is an invalid file descriptor, this function invokes the invalid parameter handler, as described in Parameter validation. If execution is allowed to continue, both functions return -1L to indicate an error and set errno to EBADF.
Remarks
By default, this function's global state is scoped to the application. To change this behavior, see Global state in the CRT.
Requirements
Function
Required header
_filelength
<io.h>
_filelengthi64
<io.h>
For more compatibility information, see Compatibility.