Error Handling

Function Header File Page Description
assert() assert.h assert() — Verify Condition Prints diagnostic messages.
atexit() stdlib.h atexit() — Record Program Ending Function Registers a function to be executed at program end.
clearerr() stdio.h clearerr() — Reset Error Indicators Resets error indicators.
feof() stdio.h feof() — Test End-of-File Indicator Tests end-of-file indicator for stream input.
ferror() stdio.h ferror() — Test for Read/Write Errors Tests the error indicator for a specified stream.
_GetExcData() signal.h _GetExcData() — Get Exception Data Retrieves information about an exception from within a C signal handler. This function is not defined when SYSIFCOPT(*SYNCSIGNAL) is specified on the compilation command.
perror() stdio.h perror() — Print Error Message Prints an error message to stderr.
raise() signal.h raise() — Send Signal Initiates a signal.
signal() signal.h signal() — Handle Interrupt Signals Allows handling of an interrupt signal from the operating system.
strerror() string.h strerror() — Set Pointer to Runtime Error Message Retrieves pointer to system error message.


[ Top of Page | Previous Page | Next Page | Contents | Index ]