std/sys/io/error/
generic.rs

1pub fn errno() -> i32 {
2    0
3}
4
5pub fn is_interrupted(_code: i32) -> bool {
6    false
7}
8
9pub fn decode_error_kind(_code: i32) -> crate::io::ErrorKind {
10    crate::io::ErrorKind::Uncategorized
11}
12
13pub fn error_string(_errno: i32) -> String {
14    "operation successful".to_string()
15}