This group is for error classes.
| int ABT_error_get_str |
( |
int |
err, |
|
|
char * |
str, |
|
|
size_t * |
len |
|
) |
| |
Get the string of error code and its length.
ABT_error_get_str returns the string of given error code through str and its length in bytes via len. If str is NULL, only len is returned. If str is not NULL, it should have enough space to save len bytes of characters. If len is NULL, len is ignored.
- Parameters
-
| [in] | err | error code |
| [out] | str | error string |
| [out] | len | the length of string in bytes |
- Returns
- Error code
- Return values
-
Definition at line 27 of file error.c.