errno_dragonfly/
lib.rs

1
2
3
4
5
6
#![no_std]

#[link(name = "errno", kind = "static")]
extern "C" {
    pub fn errno_location() -> *mut libc::c_int;
}