BlinkenArea - GitList
Repositories
Blog
Wiki
uproctrace
Code
Commits
Branches
Tags
Search
Tree:
d25cfba
Branches
Tags
master
uproctrace
liblwptev
src
stringlist.h
use libname as prefix for all funcs
Stefan Schuermans
commited
d25cfba
at 2020-05-17 18:59:26
stringlist.h
Blame
History
Raw
#ifndef LWPTTR_STRINGLIST_H #define LWPTTR_STRINGLIST_H #include "cleaner.h" #include <stdlib.h> /** * @brief read string list file * @param[in] pathname path to file containing zero-terminated string list * @param[out] *n number of strings read * @param[out] *strs strings read * @param[in,out] cleaner object, malloc-ed string is added to it * @return 0 on success, -1 on error * (on error, cleanup is done and cleaner is deallocated) */ int lwptev_stringlist_read(char const *pathname, size_t *n, char ***strs, lwptev_cleaner_t *cleaner); #endif /* #ifndef LWPTTR_STRINGLIST_H */