|
x-engine-c v0.2.13
The C engine for x-lang
|
Core implementation – error reporting and debug output. More...
#include "x-lib.h"Functions | |
| void | x_error (int fd, x_char_t *message, x_char_t *p_text) |
Core implementation – error reporting and debug output.
., .,
{O,O}
( )
" "
Output an error message to a file descriptor.
Writes "*** ERROR: " followed by message. If p_text is non-NULL, appends ‘" ’"` and the context text.
| fd | File descriptor to write the error to. |
| message | A C string error message to output. |
| p_text | A C string with additional context, or NULL. |