diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-10-26 21:16:43 +0100 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-10-29 22:21:42 +0100 |
commit | bbf01054bf943db4394027d77915f9625ebde81e (patch) | |
tree | ee5e94bd207c2c0df8e11792064c694b27de8d02 /Compat.h | |
parent | 049046c700ea42e8f9bb77f5efbb5a66ed3c4651 (diff) |
Add compat wrapper for fstatat
Diffstat (limited to 'Compat.h')
-rw-r--r-- | Compat.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Compat.h b/Compat.h new file mode 100644 index 00000000..c9fd0e62 --- /dev/null +++ b/Compat.h @@ -0,0 +1,19 @@ +#ifndef HEADER_Compat +#define HEADER_Compat +/* +htop - Compat.h +(C) 2020 Christian Göttsche +Released under the GNU GPLv2, see the COPYING file +in the source distribution for its full text. +*/ + +#include <sys/stat.h> + + +int Compat_fstatat(int dirfd, + const char* dirpath, + const char* pathname, + struct stat* statbuf, + int flags); + +#endif /* HEADER_Compat */ |