-
Notifications
You must be signed in to change notification settings - Fork 52
Error
Sangmin Seo edited this page Mar 2, 2017
·
1 revision
int ABT_error_get_str(int err, char *str, size_t *len)
- Get the string of error code and its length.
- Parameters
- [in]
err
: error code - [out]
str
: error string - [out]
len
: the length of string in bytes
- [in]
- Return values
- On success,
ABT_SUCCESS
is returned. - On error, a non-zero error code is returned.
- On success,
- Details
-
ABT_error_get_str()
returns the string of given error code throughstr
and its length in bytes vialen
. Ifstr
isNULL
, onlylen
is returned. Ifstr
is notNULL
, it should have enough space to savelen
bytes of characters. Iflen
isNULL
,len
is ignored.
-