Skip to main content

Crate arceos_posix_api

Crate arceos_posix_api 

Source
Expand description

POSIX-compatible APIs for ArceOS modules

Modules§

config
Platform-specific constants and parameters.
ctypes
POSIX C types.

Functions§

sys_clock_gettime
Get clock time since booting
sys_exit
Exit current task
sys_getpid
Get current thread ID.
sys_getrlimit
Get resource limitations
sys_nanosleep
Sleep some nanoseconds
sys_read
Read data from the file indicated by fd.
sys_sched_yield
Relinquish the CPU, and switches to another task.
sys_setrlimit
Set resource limitations
sys_sysconf
Return system configuration infomation
sys_write
Write data to the file indicated by fd.
sys_writev
Write a vector.