Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

ERROR LOGGING(3P)  —  Kubota Pacfic Computer Inc. (29 February 1991)

NAME

ERROR LOGGING − log PEX-SI errors to error file

SYNOPSIS

C Syntax

void
perr_log ( errnum, funcnum, fname )
Pinterrnum;error number
Pintfuncnum;Number of function that detected the error
char∗fname;name of error file

Required PHIGS Operating States

(∗, ∗, ∗, ∗)

DESCRIPTION

Purpose

ERROR LOGGING writes an error message and the identification of the PHIGS function detecting the error to the error file.  ERROR LOGGING is always called by the default ERROR HANDLING function and may also be called by the application. 

C Input Parameters

errnum
The number of the error detected. The error numbers and corresponding error messages for each function are listed with each function description in this reference.

funcnum
The identification of the function which detected the error.

fnameA pointer to the character string containing the name of the error file specified in the OPEN PHIGS function. 

Execution

ERROR LOGGING writes the error number, a description of the error, and the function number of the function that detected the error to the error file. 

ERROR LOGGING produces error messages of the form:

PEX-SI error <number> in <function name>: <error message text>

ERRORS

No Error

SEE ALSO

ERROR HANDLING (3P)
SET ERROR HANDLING MODE (3P)
OPEN PHIGS (3P)

September 02, 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026