XI. OS APIs

Table of Contents
atexit --  evaluates code before exiting a program.
block_signal, unblock_signal -- delimit signal blocking.
errno --  detects and numbers errors.
exec -- executes a program.
exit_program --  terminates the interpreter.
fork --  duplicates a process.
getenv -- retrieves the value of an environment variable.
gethostname -- gets the computer's host name.
getnid --  returns the local node number.
getpid --  returns the program ID.
getsockopt, setsockopt -- get and set a socket option.
kill --  sends a signal to a process.
nanosleep --  pauses the interpreter for seconds and nanoseconds.
setenv --  sets an environment variable for the current process.
shm_open -- opens shared memory objects.
shm_unlink --  removes shared memory objects.
signal --  defines an expression to be evaluated at an OS generated signal.
sleep, usleep --  suspend execution.
strerror --  retrieves an error message.
system --  treats its argument as a system command.
wait -- waits for process exit status.

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.