Registry / other / sc
library0.2.7rscratesunverified

Raw system calls

# Cargo.toml [dependencies] sc = "0.2.7"
INSTALL
IMPORT
SIG · SC
S
sc
otherrustv0.2.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

syscall
use sc::syscall;

Perform a raw system call

use sc::syscall; fn main() { let result = syscall!(write, 1, "Hello\n".as_ptr(), 6); println!("Result: {:?}", result); }
Debug
Known issues
gotchaUnsafe and platform-specific
fix
Only use when absolutely necessary; prefer safe abstractions
affects: >=0.2.0
Upgrade
Version history
0.2.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
sc — cargo add sc · libregistry