mach-sys 0.5.4

forked from original mach, and merge from mach2/machx. A Rust interface to the user-space API of the Mach 3.0 kernel that underlies OSX.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! This module roughly corresponds to `mach/mach_error.h`.

use crate::ffi::c_char;

use crate::kern_return::kern_return_t;

pub type mach_error_t = kern_return_t;

extern "C" {
    pub fn mach_error_string(error_value: mach_error_t) -> *mut c_char;
}