summaryrefslogtreecommitdiffstats
path: root/Compat.h
blob: c0085d5cea4b9740ee369d4bacd5c94c8effcb04 (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
#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_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