2020-10-26 20:16:43 +00:00
|
|
|
#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.
|
|
|
|
*/
|
|
|
|
|
2020-10-29 22:02:57 +00:00
|
|
|
#include <stddef.h>
|
2020-10-26 20:16:43 +00:00
|
|
|
#include <sys/stat.h>
|
|
|
|
|
|
|
|
|
|
|
|
int Compat_fstatat(int dirfd,
|
|
|
|
const char* dirpath,
|
|
|
|
const char* pathname,
|
|
|
|
struct stat* statbuf,
|
|
|
|
int flags);
|
|
|
|
|
2020-10-29 22:02:57 +00:00
|
|
|
int Compat_readlinkat(int dirfd,
|
|
|
|
const char* dirpath,
|
|
|
|
const char* pathname,
|
|
|
|
char* buf,
|
|
|
|
size_t bufsize);
|
|
|
|
|
2020-10-26 20:16:43 +00:00
|
|
|
#endif /* HEADER_Compat */
|