#![no_std]
#![feature(allocator_api)]
#![feature(extern_types)]
#![feature(never_type)]
mod auto_unmount;
mod cstr_array;
mod error;
mod fd;
pub mod ioctl;
mod mmap_alloc;
mod net;
mod print_macros;
mod spawn;
mod start;
mod syscalls;
pub use auto_unmount::*;
pub use cstr_array::CStrArray;
pub use error::*;
pub use fd::*;
pub use mmap_alloc::*;
pub use net::*;
pub use print_macros::*;
pub use spawn::*;
pub use start::*;
pub use syscalls::*;
pub const FD_CLOEXEC: i32 = 1;
pub const SIGTERM: i32 = 15;
pub const SIGCHLD: i32 = 17;
pub const SOL_SOCKET: i32 = 1;
pub const SCM_RIGHTS: i32 = 1;
pub const MSG_DONTWAIT: u32 = 0x40;
pub const SIG_BLOCK: i32 = 0;
pub const PAGE_SIZE: usize = 0x1000;
#[allow(non_camel_case_types)]
#[repr(C)]
#[derive(Clone, Copy)]
pub struct iovec {
pub iov_base: *mut u8,
pub iov_len: usize,
}
#[allow(non_camel_case_types)]
#[repr(C)]
#[derive(Clone, Copy)]
pub struct timespec {
pub tv_sec: i64,
pub tv_nsec: i64,
}
#[allow(non_camel_case_types)]
#[repr(C)]
#[derive(Clone, Copy)]
pub struct timeval {
pub tv_sec: i64,
pub tv_usec: i64,
}
#[allow(non_camel_case_types)]
pub type sigset_t = usize;
#[allow(non_camel_case_types)]
pub type uid_t = u32;
#[allow(non_camel_case_types)]
pub type gid_t = u32;
#[allow(non_camel_case_types)]
pub type pid_t = i32;