htop/Compat.h

32 lines
769 B
C
Raw Normal View History

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>
2020-11-07 21:51:46 +00:00
int Compat_faccessat(int dirfd,
const char* pathname,
int mode,
int flags);
2020-10-26 20:16:43 +00:00
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 */