mach_sys/
error.rs

1//! This module roughly corresponds to `mach/mach_error.h`.
2
3use crate::ffi::c_char;
4
5use crate::kern_return::kern_return_t;
6
7pub type mach_error_t = kern_return_t;
8
9extern "C" {
10    pub fn mach_error_string(error_value: mach_error_t) -> *mut c_char;
11}
12