terrno - TeraScan global error code

SYNOPSIS

#include <terrno.h>

DESCRIPTION

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.

FILES

include/terrno.h, /usr/include/errno.h

SEE ALSO

outpstr, msgcat


Last Update: $Date: 1999/05/10 20:57:07 $