Posts Tagged ‘exit’

assert_perror – test errnum and abort
USAGE
#define _GNU_SOURCE
#include <assert.h>

void assert_perror(int errnum);

DESCRIPTION
If the macro NDEBUG was defined at the moment was last
[...]

Wednesday, August 26th, 2009 at 02:04 | Comments Off
Categories: A

abort – cause abnormal program termination
USAGE
#include <stdlib.h>

void abort(void);

DESCRIPTION
The abort() function causes abnormal program termination unless the
signal SIGABRT is caught and the signal handler [...]

Wednesday, August 26th, 2009 at 01:32 | Comments Off
Categories: A

assert – abort the program if assertion is false
USAGE
#include <assert.h>

void assert(scalar expression);

DESCRIPTION
If the macro NDEBUG was defined at the moment was last
[...]

Tuesday, August 25th, 2009 at 21:34 | Comments Off
Categories: A
TOP