Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/wapython
Path: blob/main/core/man/src/config.h
1067 views
1
#ifdef __cplusplus
2
#error "Do not use C++. See the INSTALL file."
3
#endif
4
5
#include <sys/types.h>
6
7
#define MAN_CONF_FILE "/etc/man.conf"
8
#define MANPATH_BASE "/usr/share/man:/usr/X11R6/man"
9
#define MANPATH_DEFAULT "/usr/share/man:/usr/X11R6/man:/usr/local/man"
10
#define OSENUM MANDOC_OS_OTHER
11
#define UTF8_LOCALE "en_US.UTF-8"
12
#define be32toh ntohl
13
#define htobe32 htonl
14
15
#define HAVE_DIRENT_NAMLEN 1
16
#define HAVE_ENDIAN 0
17
#define HAVE_ERR 1
18
#define HAVE_FTS 1
19
#define HAVE_FTS_COMPARE_CONST 0
20
#define HAVE_GETLINE 1
21
#define HAVE_GETSUBOPT 1
22
#define HAVE_ISBLANK 1
23
#define HAVE_LESS_T 1
24
#define HAVE_MKDTEMP 1
25
#define HAVE_MKSTEMPS 1
26
#define HAVE_NTOHL 1
27
#define HAVE_PLEDGE 0
28
#define HAVE_PROGNAME 1
29
#define HAVE_REALLOCARRAY 0
30
#define HAVE_RECALLOCARRAY 0
31
#define HAVE_REWB_BSD 1
32
#define HAVE_REWB_SYSV 0
33
#define HAVE_SANDBOX_INIT 0
34
#define HAVE_STRCASESTR 1
35
#define HAVE_STRINGLIST 1
36
#define HAVE_STRLCAT 1
37
#define HAVE_STRLCPY 1
38
#define HAVE_STRNDUP 1
39
#define HAVE_STRPTIME 1
40
#define HAVE_STRSEP 1
41
#define HAVE_STRTONUM 1
42
#define HAVE_SYS_ENDIAN 0
43
#define HAVE_VASPRINTF 1
44
#define HAVE_WCHAR 1
45
#define HAVE_OHASH 0
46
#define NEED_XPG4_2 0
47
48
#define BINM_APROPOS "apropos"
49
#define BINM_CATMAN "catman"
50
#define BINM_MAKEWHATIS "makewhatis"
51
#define BINM_MAN "man"
52
#define BINM_SOELIM "soelim"
53
#define BINM_WHATIS "whatis"
54
#define BINM_PAGER "less"
55
56
extern void *reallocarray(void *, size_t, size_t);
57
extern void *recallocarray(void *, size_t, size_t, size_t);
58
#include "posix-wasm.h"
59
#define EFTYPE EINVAL
60
#undef HAVE_STRINGLIST
61
62