Next: C SEGs, Previous: C Compile-Time Parameters, Up: C Interface [Contents][Index]
Return x if a valid error code (-1 … MAXERR); else 0.
Not err_P
.
Successful execution (0).
Negative integers are used for errors according to increasingly severity, as follows:
Successful execution; no data present or no change made.
Failure; no damage; caller can retry operation.
Failure; no damage; caller can retry operation.
Failure, no damage, call was in error.
Failure, no damage, call was in error.
Failure, no damage, out of room in file.
Failure, file or object was not of correct type.
I/O error, DB may be damaged.
Internal error, DB may be damaged.
Placeholder code.
All error codes are between 0 and ‘maxerr’.
The machine translated source utilizes dprintf
as a
platform-independent way to log diagnostic, warning, and error messages.
tdprintf
The single argument to dprintf
must be an argument list within
parenthesis (eg. double parentheses). The first argument inside this
list should be literally diagout
. template is a
printf style format string followed by the arguments for
formatting, as with printf
.
Next: C SEGs, Previous: C Compile-Time Parameters, Up: C Interface [Contents][Index]