|
GEL
0.99
|
#include <stdio.h>#include <unistd.h>#include <stdarg.h>#include <gel/error.h>#include <gel/stabs.h>Functions | |
| const char * | gel_strerror (void) |
| gel_error_fun_t * | gel_set_error_fun (gel_error_fun_t *fun) |
| void | gel_set_error (int code, const char *fmt,...) |
Variables | |
| int | gel_errno = GEL_ESUCCESS |
| void gel_set_error | ( | int | code, |
| const char * | fmt, | ||
| ... | |||
| ) |
Generate an error using new error function system.
| code | Error code. |
| fmt | Message format. |
| ... | Format arguments. |
| gel_error_fun_t* gel_set_error_fun | ( | gel_error_fun_t * | fun | ) |
Set the function which will be called when an error or a warning arise.
| fun | New error function. |