next up previous contents index
Next: File Descriptor Streams Up: UNIX Interface Previous: System Area Pointers   Contents   Index

Unix System Calls

You probably won't have much cause to use them, but all the Unix system calls are available. The Unix system call functions are in theUnix package. The name of the interface for a particular system call is the name of the system call prepended with unix-. The system usually defines the associated constants without any prefix name. To find out how to use a particular system call, try usingdescribe on it. If that is unhelpful, look at the source in `'syscall.lisp or consult your system maintainer.

The Unix system calls indicate an error by returning nil as the first value and the Unix error number as the second value. If the call succeeds, then the first value will always be non-nil, often t.

[Function]
Unix: get-unix-error-msg
error

This function returns a string describing the Unix error number error.



Peter Van Eynde 2001-03-08