libc_rs/lib.rs
1//! `libc-rs` -- pure-Rust `#![no_std]` native application runtime, compiler memory
2//! intrinsics, and syscall substrate for unikernel environments.
3//!
4//! Unlike POSIX or Linux `libc` implementations, `libc-rs` carries no C code,
5//! no `pthreads`, and no legacy POSIX bloat.
6
7#![no_std]
8#![forbid(unsafe_op_in_unsafe_fn)]
9
10#[cfg(feature = "alloc")]
11extern crate alloc;
12
13pub mod errno;
14pub mod fd;
15pub mod fs;
16pub mod heap;
17pub mod io;
18pub mod math;
19pub mod mem;
20pub mod mm;
21pub mod net;
22pub mod poll;
23pub mod process;
24pub mod rand;
25pub mod raw;
26pub mod startup;
27pub mod sync;
28pub mod thread;
29pub mod time;
30
31pub use errno::{Errno, SysResult};