Technical data

62
Chapter 4: System Functions and Subroutines
usfreesema free a semaphore
usgetinfo exchange information through an arena
usinit semaphore and lock initialize routine
usinitlock initialize a lock
usinitsema initialize a semaphore
usmalloc allocate shared memory
usmallopt control allocation algorithm
usnewlock allocate and initialize a lock
usnewpollsema allocate and initialize a pollable semaphore
usnewsema allocate and initialize a semaphore
usopenpollsem attach a le descriptor to a pollable semaphore
uspsema acquire a semaphore
usputinfo exchange information through an arena
usrealloc user share memory allocation
ussetlock set lock
ustest lock test lock
ustestsema return value of semaphore
ustrace trace
usunsetlock unset lock
usvsema free a resource to a semaphore
uswsetlock set lock
wait wait for a process to terminate
write write to a le
Table 4-1
(continued) Summary of System Interface Library Routines
Function Purpose