1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Low-level cross-platform interface to operating system services.
//!
//! `oscall` talks to the operating system directly, with no dependencies:
//!
//! - **Linux** (and [fullrust]): raw system calls, no libc involved.
//! - **macOS**: `libSystem`, the only stable interface to the kernel.
//! - **Windows**: `kernel32`, `ntdll` and `ws2_32`.
//!
//! The crate is a scaffold for now: no OS interface is exposed yet. See
//! `docs/plan.md` in the repository for the design and the roadmap.
//!
//! [fullrust]: https://github.com/KarpelesLab/fullrust
extern crate alloc;
extern crate std;