3 #if !defined(__BEGIN_DECLS)
5 # define __BEGIN_DECLS extern "C" {
10 #if !defined(__END_DECLS)
12 # define __END_DECLS }
19 # if defined(__APPLE__)
20 # define betoh64(x) OSSwapBigToHostInt64(x)
21 # define htobe64(x) OSSwapHostToBigInt64(x)
23 # define betoh64(x) BE_64(x)
24 # define htobe64(x) BE_64(x)
26 # define betoh64(x) be64toh(x)
31 extern size_t strlcat(char *, const char *, size_t);
34 extern size_t strlcpy(char *, const char *, size_t);
36 #ifndef HAVE_GETSUBOPT
37 extern int getsubopt(char **, char * const *, char **);
38 extern char *suboptarg;
41 extern char *fgetln(FILE *, size_t *);
44 #endif /* MANDOC_CONFIG_H */