Crates.io | sc |
lib.rs | sc |
version | 0.2.7 |
source | src |
created_at | 2017-01-14 01:55:22.947552 |
updated_at | 2022-03-24 14:24:21.048155 |
description | Raw system calls |
homepage | |
repository | https://github.com/japaric/syscall.rs |
max_upload_size | |
id | 8049 |
size | 257,610 |
This library allows Rust code to invoke system calls directly.
⚠️ NOTE: Only these architectures have been ported to the stable (as of 1.59) asm!
macro
All the other architectures use the deprecated llvm_asm!
macro which has already been removed.
To use this crate with those architectures you'll need to use an older nightly like
nightly-2022-01-14
See the list of supported platforms. Additions are very welcome!
We do not intend to provide wrapper functions like read(2)
etc. because there are many subtly different ways to define them in Rust.