tinysyscall 0.1.1

a (no depend std) tiny syscall abstract layer...
Documentation
  • Coverage
  • 0%
    0 out of 39 items documented0 out of 12 items with examples
  • Size
  • Source code size: 46.55 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 837.94 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Sunrisepeak/tinysyscall
    3 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Sunrisepeak

tiny syscall

a (no depend std) tiny syscall abstract layer...

Usage

Add the following to your Cargo.toml:

[dependencies]
tinysyscall = "0.1.0"

Examples

use tinysyscall;

fn main() {
    let hw = "Hello, World!\n";
    tinysyscall::file::write(tinysyscall::file::STDOUT, hw.as_bytes());
}

Pub API

系统调用 接口

模块 接口 备注
file open :white_check_mark:
read :white_check_mark:
write :white_check_mark:
ioctl :white_check_mark:
stat :white_check_mark:
close :white_check_mark:
mem mmap :white_check_mark:
unmmap :white_check_mark:
time sleep
process exit :white_check_mark:
task thread/task 暂不支持

OS & Arch Support

系统 架构 备注
linux x8_64 :white_check_mark:
riscv64 :white_check_mark:
windows
mac
freertos

Other