ARGOBOTS  66b1c39742507d8df30e8d28c54839b961a14814
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Functions
Error

Functions

int ABT_error_get_str (int err, char *str, size_t *len)
 Get the string of error code and its length. More...
 

Detailed Description

This group is for error classes.

Function Documentation

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]errerror code
[out]strerror string
[out]lenthe length of string in bytes
Returns
Error code
Return values
ABT_SUCCESSon success

Definition at line 27 of file error.c.