userspace_build 0.1.123

Standard library for userspace applications
Documentation
pub mod load;
pub use load::load;

pub mod information;
pub use information::information;

pub mod print;
pub use print::print;

pub mod open;
pub use open::open;

pub mod seek;
pub use seek::seek;

pub mod format;

// impl traits::Bytes<Origin, Origin> for &str {
//     const BYTES_SIZE: usize = core::mem::size_of::<&str>();
//     fn to_bytes(&self, endianness: bool) -> [u8; Self::BYTES_SIZE] {
//         let bytes =
//         memory::alloc::<char>(self.len());
//     }
// }

pub mod a {
    r#struct!(pub Information {
       size : usize,
    });
}
pub use a::Information;

r#struct!(pub File {
    pub descriptor : isize,
    pub information : Information
    // pub memory : Option<*const u8>
});