We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6a3358 commit f04bc70Copy full SHA for f04bc70
vm/src/stdlib/msvcrt.rs
@@ -24,16 +24,6 @@ mod msvcrt {
24
unsafe { suppress_iph!(_setmode(fd, libc::O_BINARY)) };
25
}
26
27
- pub fn get_errno() -> i32 {
28
- let mut e = 0;
29
- unsafe { suppress_iph!(_get_errno(&mut e)) };
30
- e
31
- }
32
-
33
- extern "C" {
34
- fn _get_errno(pValue: *mut i32) -> i32;
35
36
37
extern "C" {
38
fn _getch() -> i32;
39
fn _getwch() -> u32;
0 commit comments