@msdn=https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/get-osfhandle @pinvoke=http://pinvoke.net/$$$.htm Summary: Retrieves the operating-system file handle that is associated with the specified file descriptor. !!!!C# Signature: [DllImport("msvcrt.dll", SetLastError=true)] static extern SafeFileHandle _get_osfhandle(int fd); !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: Returns an operating-system file handle if fd is valid. Otherwise, the invalid parameter handler is invoked, as described in Parameter Validation. If execution is allowed to continue, this function returns INVALID_HANDLE_VALUE (-1) and sets errno to EBADF, indicating an invalid file handle. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! Documentation: _get_osfhandle@msdn on MSDN
Edit msvcrt._get_osfha...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.