// Generated using `moon info`, DON'T EDIT IT package "moonplasma/desktop/interface/moonplasma/host/sys" // Values pub fn close_fd(Int32) -> Unit pub fn getenv(String) -> String pub fn getpid() -> Int32 pub fn has_exe(String) -> Bool pub fn list_desktop_files(String) -> Array[String] pub fn log(String) -> Unit pub fn memfd_create(String, Int32) -> Int32 pub fn mkdir_p(String) -> Bool pub fn mmap_read(Int32, Int32) -> FixedArray[Byte] pub fn mmap_read_at(Int32, Int32, Int32) -> FixedArray[Byte] pub fn monotonic_ms() -> UInt64 pub fn poll_read(Int32, Int32) -> Int32 pub fn pwrite(Int32, FixedArray[Byte], Int32) -> Int32 pub fn read_file(String) -> FixedArray[Byte] pub fn read_proc(String) -> FixedArray[Byte] pub fn recvmsg(Int32, UInt32) -> Received pub fn sendmsg(Int32, FixedArray[Byte], Int32) -> Int32 pub fn sleep_ms(Int32) -> Unit pub fn spawn(String, String) -> Bool pub fn unix_accept(Int32) -> Int32 pub fn unix_connect(String) -> Int32 pub fn unix_listen(String) -> Int32 pub fn unlink(String) -> Unit pub fn wall_time_field(Int32) -> Int32 pub fn write_file(String, FixedArray[Byte]) -> Int32 // Errors // Types and methods pub(all) struct Received { count : Int32 fd : Int32 data : FixedArray[Byte] } // Type aliases // Traits