summaryrefslogtreecommitdiffstats
path: root/Compat.h
blob: e513b1d34c3ad86536d68ebd9004eafc8caa9071 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#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 <stddef.h>
#include <sys/stat.h>


int Compat_faccessat(int dirfd,
                     const char* pathname,
                     int mode,
                     int flags);

int Compat_fstatat(int dirfd,
                   const char* dirpath,
                   const char* pathname,
                   struct stat* statbuf,
                   int flags);

int Compat_readlinkat(int dirfd,
                   const char* dirpath,
                   const char* pathname,
                   char* buf,
                   size_t bufsize);

#endif /* HEADER_Compat */

© 2014-2024 Faster IT GmbH | imprint | privacy policy