Go to the source code of this file.
Define Documentation
Function Documentation
Print the error stack out to the given FILE pointer.
- Parameters:
-
out | A pointer to a FILE structure. |
- Returns:
- errs_err_ok or < 0 on failure.
int errs_register |
( |
int |
id, |
|
|
const char * |
msg, |
|
|
int |
line, |
|
|
const char * |
func, |
|
|
char * |
file |
|
) |
| |
Dump an error onto the stack.
- Parameters:
-
id | An error identifier that will be returned. |
msg | A pointer to a string containing a descriptive error message. |
line | The line on which the error occured. |
func | The name of the function in which the error occured. |
file | The name of the file in which the error occured. |
- Returns:
- The value of
id
.
Variable Documentation