diff options
author | Benny Baumann <BenBE@geshi.org> | 2020-10-29 23:02:57 +0100 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2020-11-09 19:17:57 +0100 |
commit | 2d6da2e52066067e4c82a2e16f73438319e1db81 (patch) | |
tree | 5e3180abd332708ae94ec34b56d9e89dddb2a6e5 /Compat.h | |
parent | 84dad4c38ee4eb16ea8716891419b0a3780f3818 (diff) |
Add compat wrapper for readlinkat
Diffstat (limited to 'Compat.h')
-rw-r--r-- | Compat.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -7,6 +7,7 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ +#include <stddef.h> #include <sys/stat.h> @@ -16,4 +17,10 @@ int Compat_fstatat(int dirfd, struct stat* statbuf, int flags); +int Compat_readlinkat(int dirfd, + const char* dirpath, + const char* pathname, + char* buf, + size_t bufsize); + #endif /* HEADER_Compat */ |