-
Notifications
You must be signed in to change notification settings - Fork 56
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_SUCCESSis returned. - On error, a non-zero error code is returned.
- On success,
- Details
-
ABT_error_get_str()returns the string of given error code throughstrand its length in bytes vialen. IfstrisNULL, onlylenis returned. Ifstris notNULL, it should have enough space to savelenbytes of characters. IflenisNULL,lenis ignored.
-