Crate safa_api

Source
Expand description

A high-level API over SafaOS’s syscalls

for example self::alloc is a high-level userspace allocator which internally uses the self::syscalls::syssbrk syscall

This crate also exposes raw SafaOS syscalls (see self::syscalls) and raw SafaOS abi structures (see self::raw)

Modules§

alloc
This module implements a high-level userspace allocator which internally uses the crate::syscalls::syssbrk syscall to allocate memory
errors
process
Module for process-related high-level functions over process related syscalls
raw
This module exposes raw SafaOS abi structures
syscalls
This module exposes SafaOS’s syscalls and their rust counterparts