30 bool is_other_std_handle_open =
67 _ASSERTE((
"Invalid file descriptor. File possibly closed by a different thread",0));
75 __crt_cached_ptd_host
ptd;
88 if (close_os_handle_error != 0)
99 __crt_cached_ptd_host
ptd;
auto __acrt_lowio_lock_fh_and_call(int const fh, Action &&action) -> decltype(action())
int __cdecl _free_osfhnd(int)
#define _UCRT_VALIDATE_CLEAR_OSSERR_RETURN(ptd, expr, errorcode, retexpr)
#define _UCRT_CHECK_FH_CLEAR_OSSERR_RETURN(ptd, handle, errorcode, retexpr)
_In_ size_t const _In_ int _In_ bool const _In_ unsigned const _In_ __acrt_rounding_mode const _Inout_ __crt_cached_ptd_host & ptd
#define INVALID_HANDLE_VALUE
void __cdecl __acrt_errno_map_os_error_ptd(unsigned long const oserrno, __crt_cached_ptd_host &ptd)
_CRTIMP intptr_t __cdecl _get_osfhandle(_In_ int _FileHandle)
int __cdecl _close_internal(int const fh, __crt_cached_ptd_host &ptd)
static DWORD close_os_handle_nolock(int const fh)
int __cdecl _close_nolock_internal(int const fh, __crt_cached_ptd_host &ptd)
int __cdecl _close_nolock(int const fh)
int __cdecl _close(int const fh)
DWORD WINAPI GetLastError(void)