BlinkenArea - GitList
Repositories
Blog
Wiki
uproctrace
Code
Commits
Branches
Tags
Search
Tree:
d25cfba
Branches
Tags
master
uproctrace
liblwptev
src
symlink.h
use libname as prefix for all funcs
Stefan Schuermans
commited
d25cfba
at 2020-05-17 18:59:26
symlink.h
Blame
History
Raw
#ifndef LWPTTR_SYMLINK_H #define LWPTTR_SYMLINK_H #include "cleaner.h" /** * @brief read symlink * @param[in] pathname path to symbolic link * @param[out] *target malloc-ed string object containing symlink target * @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_symlink_read(char const *pathname, char **target, lwptev_cleaner_t *cleaner); #endif /* #ifndef LWPTTR_SYMLINK_H */