environ
_exit
close
execve
fork
fstat
getpid
isatty
kill
link
lseek
open
read
sbrk
stat
times
unlink
wait
write
The simplest way to provide a board support package is to implement the 18 system calls in non-reentrant fashion. For many bare metal implementations this is sufficient.
The simplest possible BSP supports just output to standard output and non input. We give the minimal implementation for such a system.
Where appropriate, we also show the OpenRISC 1000 implementation as a practical example.
This section duplicates much of the information found in the
newlib
libc
documentation [1]. It is
included here for completeness.