INtime SDK Help

Aborts the current thread and returns an error code.

#include <process.h>
#include <stdlib.h>

void abort (void);


abort does not flush stream buffers or do atexit/ onexit processing. It does not return control to the caller.

This function calls raise (SIGABRT); the response to the signal depends on the action defined in a prior call to signal. The default action is for the calling thread to terminate with an exit call.

This function is implemented in the C interface library (not in the shared C library) and is private to each application.

Return Values

Exit code 3 (default) to the parent process and terminates the thread.


Versions Defined in Include Link to
INtime 3.0 intime/rt/include/stdlib.h process.h

See Also

atexit, onexit, raise, exit