Since the system subroutines are used by other library routines that
require reentrancy, libc.a provides cover routines (for example,
the reentrant version of fork
is _fork_r
). These cover
routines are consistent with the other reentrant subroutines in this
library, and achieve reentrancy by using a reserved global data block
(see Reentrancy).
• _close_r: | Reentrant version of close | |
• _execve_r: | Reentrant version of execve | |
• _fork_r: | Reentrant version of fork | |
• _fstat_r: | Reentrant version of fstat | |
• _getpid_r: | Reentrant version of getpid | |
• _kill_r: | Reentrant version of kill | |
• _link_r: | Reentrant version of link | |
• _lseek_r: | Reentrant version of lseek | |
• _open_r: | Reentrant version of open | |
• _read_r: | Reentrant version of read | |
• _sbrk_r: | Reentrant version of sbrk | |
• _stat_r: | Reentrant version of stat | |
• _times_r: | Reentrant version of times | |
• _unlink_r: | Reentrant version of unlink | |
• _wait_r: | Reentrant version of wait | |
• _write_r: | Reentrant version of write |