summaryrefslogtreecommitdiffstats
path: root/safe_libc/src/lib.rs
blob: cbc4071dde171eac3e62977b4cd35a3ea2b29a6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#![no_std]
#![feature(extern_types)]
#![feature(slice_ptr_len)]
#![feature(ffi_const)]

extern crate alloc;

pub use libc::*;

mod util;

pub mod boxed;
pub mod errno;
pub mod stdio;
pub mod string;

extern "C" {
	// pub static stdin: *mut libc::FILE;
	pub static stdout: *mut libc::FILE;
	pub static stderr: *mut libc::FILE;
}