#include <terrno.h>
All TeraScan subsystems return error codes via global integer variable terrno. Many subsystems return UNIX errors directly with no translation via terrno, e.g., by setting terrno=errno.
UNIX error codes are defined in /usr/include/errno.h. TeraScan error codes are defined in include files for the various subsystems. include/terrno.h simply contains the declaration
extern int terrno;
Messages for error codes, including UNIX error codes, are stored in a message catalog. See msgcat. These messages may be accessed using msgout, msgfmt, and msgstr. See outpstr.
include/terrno.h, /usr/include/errno.h
Last Update: $Date: 1999/05/10 20:57:07 $