2 #include <sys/param.h> /* This defines BSD */
3 #if defined(BSD) && !defined(BSD4_4) && !defined(__osf__)
6 # define strchr(a, b) index((a), (b))
7 # define strrchr(a, b) rindex((a), (b))
8 # define memcpy(a, b, c) bcopy((b), (a), (c))
9 # define memzero(a, b) bzero((a), (b))
10 # define memcmp(a, b, c) bcmp((a), (b), (c))
12 typedef void sigret_t
;
17 /* system routines that don't return int */
23 # define setbuffer(f, b, s) setvbuf((f), (b), (b) ? _IOFBF : _IONBF, (s))
27 # define memzero(a, b) memset((a), 0, (b))
28 typedef void sigret_t
;
31 /* some systems declare sys_errlist in stdio.h! */
32 #if defined(__NetBSD__) || defined(__FreeBSD__)
33 #if !defined(__m68k__)
34 # if !defined(__NetBSD132__)
35 #define SYS_ERRLIST_DECLARED
36 # endif /* __NetBSD132__ */