blob: 2e9ea8e4f09283a3b4b9b28d121ecd3727a0a711 [file] [log] [blame] [edit]
use crate::os::xous::ffi::Error as XousError;
pub fn errno() -> i32 {
0
}
pub fn is_interrupted(_code: i32) -> bool {
false
}
pub fn decode_error_kind(_code: i32) -> crate::io::ErrorKind {
crate::io::ErrorKind::Uncategorized
}
pub fn error_string(errno: i32) -> String {
Into::<XousError>::into(errno).to_string()
}