-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgnulib.h
More file actions
53 lines (41 loc) · 1.14 KB
/
gnulib.h
File metadata and controls
53 lines (41 loc) · 1.14 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#ifndef GNULIB_H
#define GNULIB_H
#include "gnulib/config.h"
#include "gnulib/alloca.h"
#include "gnulib/error.h"
#include "gnulib/exitfail.h"
#include "gnulib/getopt.h"
#include "gnulib/getopt_int.h"
#include "gnulib/gettext.h"
#include "gnulib/localcharset.h"
#include "gnulib/malloca.h"
#include "gnulib/obstack.h"
#include "gnulib/stat-time.h"
#include "gnulib/stat-w32.h"
#include "gnulib/xalloc.h"
extern char* getprogname();
extern ssize_t getline(char** lineptr, size_t* n, FILE* stream);
extern ssize_t getdelim(char** lineptr, size_t* n, int delimiter, FILE* fp);
extern int __strverscmp(const char* s1, const char* s2);
#ifndef strverscmp
#define strverscmp __strverscmp
#endif
#ifndef stat
#define stat _stati64
#define fstat _fstati64
#define off_t __int64
#endif
#ifndef lstat
#define lstat rpl_stat
#endif // !lstat
extern int rpl_stat(char const* name, struct stat* buf);
#ifndef readlink
#define readlink readlink_w32
#endif // !readlink
extern ssize_t readlink_w32(const char* path, char* buf, size_t bufsiz);
#ifndef copy_acl
#define copy_acl(a,b,c,d,e)
#endif
extern char* getprogname();
#include "gnulib/sys_stat.h"
#endif // !GNULIB_H