|
|
6b4941 |
#include <stdio.h>
|
|
|
6b4941 |
#include <sys/types.h>
|
|
|
6b4941 |
#include <stdarg.h>
|
|
|
6b4941 |
|
|
|
6b4941 |
#define OSENUM MANDOC_OS_OTHER
|
|
|
6b4941 |
#define OSNAME "Midipix"
|
|
|
6b4941 |
#define UTF8_LOCALE "en_US.UTF-8"
|
|
|
6b4941 |
|
|
|
6b4941 |
#define MAN_CONF_FILE "/etc/man.conf"
|
|
|
6b4941 |
#define MANPATH_BASE "/usr/share/man:/usr/X11R6/man"
|
|
|
6b4941 |
#define MANPATH_DEFAULT "/usr/share/man"
|
|
|
6b4941 |
#define BINM_MAN "man"
|
|
|
6b4941 |
#define BINM_SOELIN "soelim"
|
|
|
6b4941 |
#define BINM_WHATIS "whatis"
|
|
|
6b4941 |
#define BINM_CATMAN "catman"
|
|
|
6b4941 |
#define BINM_MAKEWHATIS "makewhatis"
|
|
|
6b4941 |
#define BINM_APROPOS "apropos"
|
|
|
6b4941 |
#define BINM_PAGER "less"
|
|
|
6b4941 |
|
|
|
6b4941 |
#ifndef HAVE_ERR
|
|
|
6b4941 |
extern void err(int, const char *, ...);
|
|
|
6b4941 |
extern void errx(int, const char *, ...);
|
|
|
6b4941 |
extern void warn(const char *, ...);
|
|
|
6b4941 |
extern void warnx(const char *, ...);
|
|
|
6b4941 |
#endif
|
|
|
6b4941 |
#ifndef HAVE_GETLINE
|
|
|
6b4941 |
extern ssize_t getline(char **, size_t *, FILE *);
|
|
|
6b4941 |
#endif
|
|
|
6b4941 |
#ifndef HAVE_GETSUBOPT
|
|
|
6b4941 |
extern int getsubopt(char **, char * const *, char **);
|
|
|
6b4941 |
#endif
|
|
|
6b4941 |
#ifndef HAVE_ISBLANK
|
|
|
6b4941 |
extern int isblank(int);
|
|
|
6b4941 |
#endif
|
|
|
6b4941 |
#ifndef HAVE_MKDTEMP
|
|
|
6b4941 |
extern char *mkdtemp(char *);
|
|
|
6b4941 |
#endif
|
|
|
6b4941 |
#ifndef HAVE_MKSTEMPS
|
|
|
6b4941 |
extern int mkstemps(char *, int);
|
|
|
6b4941 |
#endif
|
|
|
6b4941 |
#ifndef HAVE_GETPROGNAME
|
|
|
6b4941 |
extern const char *getprogname(void);
|
|
|
6b4941 |
#endif
|
|
|
6b4941 |
#ifndef HAVE_SETPROGNAME
|
|
|
6b4941 |
extern void setprogname(const char *);
|
|
|
6b4941 |
#endif
|
|
|
6b4941 |
#ifndef HAVE_REALLOCARRAY
|
|
|
6b4941 |
extern void *reallocarray(void *, size_t, size_t);
|
|
|
6b4941 |
#endif
|
|
|
6b4941 |
#ifndef HAVE_RECALLOCARRAY
|
|
|
6b4941 |
extern void *recallocarray(void *, size_t, size_t, size_t);
|
|
|
6b4941 |
#endif
|
|
|
6b4941 |
#ifndef HAVE_STRCASESTR
|
|
|
6b4941 |
extern char *strcasestr(const char *, const char *);
|
|
|
6b4941 |
#endif
|
|
|
6b4941 |
#ifndef HAVE_STRLCAT
|
|
|
6b4941 |
extern size_t strlcat(char *, const char *, size_t);
|
|
|
6b4941 |
#endif
|
|
|
6b4941 |
#ifndef HAVE_STRLCPY
|
|
|
6b4941 |
extern size_t strlcpy(char *, const char *, size_t);
|
|
|
6b4941 |
#endif
|
|
|
6b4941 |
#ifndef HAVE_STRNDUP
|
|
|
6b4941 |
extern char *strndup(const char *, size_t);
|
|
|
6b4941 |
#endif
|
|
|
6b4941 |
#ifndef HAVE_STRSEP
|
|
|
6b4941 |
extern char *strsep(char **, const char *);
|
|
|
6b4941 |
#endif
|
|
|
6b4941 |
#ifndef HAVE_STRTONUM
|
|
|
6b4941 |
extern long long strtonum(const char *, long long, long long, const char **);
|
|
|
6b4941 |
#endif
|
|
|
6b4941 |
#ifndef HAVE_VASPRINTF
|
|
|
6b4941 |
extern int vasprintf(char **, const char *, va_list);
|
|
|
6b4941 |
#endif
|