We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
GetConsoleMode
HANDLE
c_void
1 parent 4b87907 commit ec39e42Copy full SHA for ec39e42
library/test/src/helpers/isatty.rs
@@ -10,7 +10,7 @@ cfg_if::cfg_if! {
10
pub fn stdout_isatty() -> bool {
11
type DWORD = u32;
12
type BOOL = i32;
13
- type HANDLE = *mut u8;
+ type HANDLE = *mut core::ffi::c_void;
14
type LPDWORD = *mut u32;
15
const STD_OUTPUT_HANDLE: DWORD = -11i32 as DWORD;
16
extern "system" {
0 commit comments