2 * Copyright (c) 1996 Regents of The University of Michigan.
3 * All Rights Reserved. See COPYRIGHT.
5 * NOTE: SunOS 4 and ultrix are pretty much the only reason why there
6 * are checks for EINTR everywhere.
14 #if defined(ultrix) || defined(_IBMR2) || defined(NEED_GETUSERSHELL)
15 extern char *getusershell (void);
19 #if defined(__OpenBSD__) && !defined(ENOTSUP)
20 #define ENOTSUP EOPNOTSUPP
23 #if !defined(HAVE_PSELECT) || defined(__OpenBSD__)
24 extern int pselect(int, fd_set * restrict, fd_set * restrict,
25 fd_set * restrict, const struct timespec * restrict,
26 const sigset_t * restrict);
30 extern int flock (int, int);
34 extern size_t strnlen(const char *s, size_t n);
38 extern size_t strlcpy (char *, const char *, size_t);
42 extern size_t strlcat (char *, const char *, size_t);