errno_sys/
lib.rs

1#![deny(warnings)]
2#![doc(test(attr(deny(warnings))))]
3#![doc(test(attr(allow(dead_code))))]
4#![doc(test(attr(allow(unused_variables))))]
5
6#![no_std]
7
8use libc::c_int;
9
10#[link(name="_rust_errno_sys", kind="static")]
11extern "C" {
12    #[link_name="rust_errno_sys_errno_location"]
13    pub fn errno_location() -> *mut c_int;
14}