|
My Project
programmer's documentation
|
Go to the documentation of this file. 1 #ifndef __BFT_ERROR_H__
2 #define __BFT_ERROR_H__
54 const int sys_error_code,
55 const char *
const format,
82 const int sys_error_code,
83 const char *
const format,
85 __attribute__((format(printf, 4, 5)));
92 const int sys_error_code,
93 const char *
const format,
void bft_error_handler_set(bft_error_handler_t *const handler)
Associates an error handler with the bft_error() function.
Definition: bft_error.c:227
#define END_C_DECLS
Definition: cs_defs.h:468
bft_error_handler_t * bft_error_handler_get(void)
Returns the error handler associated with the bft_error() function.
Definition: bft_error.c:215
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
void bft_error(const char *const file_name, const int line_num, const int sys_error_code, const char *const format,...)
Calls the error handler (set by bft_error_handler_set() or default).
Definition: bft_error.c:193
void() bft_error_handler_t(const char *const file_name, const int line_num, const int sys_error_code, const char *const format, va_list arg_ptr)
Function pointer to opaque error handler.
Definition: bft_error.h:52