system call
A request a program makes to the operating system, such as "open this file".
A system call transfers control to the operating system kernel to perform a privileged operation (open, read, write, spawn); Rust's std wraps them in portable APIs.
Loading interactive…
Examples
File::open("notes.txt")passes throughstd::fsand std's platform layer down to the kernel, which answers with a file descriptor or an error.
See also