BlinkenArea - GitList
Repositories
Blog
Wiki
uproctrace
Code
Commits
Branches
Tags
Search
Tree:
840c0b1
Branches
Tags
master
uproctrace
libuptev
src
stringlist.h
add copyright headers and license (LGPL)
Stefan Schuermans
commited
840c0b1
at 2020-05-24 15:59:07
stringlist.h
Blame
History
Raw
/** * UProcTrace: User-space Process Tracing * Copyright 2020: Stefan Schuermans, Aachen, Germany <stefan@schuermans.info> * Copyleft: GNU LESSER GENERAL PUBLIC LICENSE version 3 (see LICENSE) */ #ifndef UPTEV_STRINGLIST_H #define UPTEV_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 or zero on error * @param[out] *strs malloc-ed array of malloc-ed strings read or NULL on error * @param[in,out] cleaner object, malloc-ed object are added to it on success * @return 0 on success, -1 on error */ int uptev_stringlist_read(char const *pathname, size_t *n, char ***strs, uptev_cleaner_t *cleaner); #endif /* #ifndef UPTEV_STRINGLIST_H */