13#if defined(__OpenBSD__) && !defined(ENOTSUP)
14#define ENOTSUP EOPNOTSUPP
17#if !defined(HAVE_PSELECT) || defined(__OpenBSD__)
18extern int pselect(
int, fd_set *, fd_set *, fd_set *,
const struct timespec *,
23extern size_t strnlen(
const char *s,
size_t n);
27extern size_t strlcpy(
char *,
const char *,
size_t);
31extern size_t strlcat(
char *,
const char *,
size_t);
37extern int vasprintf(
char **ret,
const char *fmt, va_list ap);
int vasprintf(char **ret, const char *fmt, va_list ap)
Definition misc.c:34
size_t strlcat(char *, const char *, size_t)
Definition strlcpy.c:59
size_t strlcpy(char *, const char *, size_t)
Definition strlcpy.c:36
size_t strnlen(const char *s, size_t n)
Definition misc.c:19
int pselect(int, fd_set *, fd_set *, fd_set *, const struct timespec *, const sigset_t *)