|
Barrelfish
|
Parse function for format returned by get_names. More...
Functions | |
| errval_t | oct_parse_names (char *input, char ***names, size_t *len) |
| Parses output from get_names call and stores it in an array. More... | |
| void | oct_free_names (char **names, size_t len) |
| Helper function to free an array of strings. More... | |
Parse function for format returned by get_names.
| void oct_free_names | ( | char ** | names, |
| size_t | len | ||
| ) |
Helper function to free an array of strings.
Frees all entries of the array and the array itself.
| names | Non-null array of strings. |
| len | Size of the names array |
| errval_t oct_parse_names | ( | char * | input, |
| char *** | names, | ||
| size_t * | len | ||
| ) |
Parses output from get_names call and stores it in an array.
| [in] | input | Comma separated string of names |
| [out] | names | Array of strings containing all names |
| [out] | len | Size of array. |
| LIB_ERR_MALLOC_FAIL | |
| SYS_ERR_OK |
1.8.11