Registry / other / redox-syscall

redox-syscall

JSON →
library0.8.1rscratesunverified

Provides direct access to Redox OS system calls from Rust, enabling low-level OS interaction.

# Cargo.toml [dependencies] redox_syscall = "0.8.1"
INSTALL
IMPORT
SIG · REDOX-SYSCALL
R
redox-syscall
otherrustv0.8.1
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.

open
use redox_syscall::syscall::open;

Open a file using the Redox syscall interface.

use redox_syscall::syscall::open; let fd = open("file.txt", redox_syscall::O_RDONLY).unwrap();
Debug
Known issues
gotchaOnly works on Redox OS
fix
Use conditional compilation or target-specific code
affects: >=0.1.0
Upgrade
Version history
0.8.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
redox-syscall — cargo add redox-syscall · libregistry