/* ref/config_aux -- Configuration and other very global information * * @(#)$Header: config_aux,v 2.1 88/11/09 17:03:08 eric Update $ */ /* Things we do have in A/UX */ #define HAVE_FNDELAY #define HAVE_SELECT #define HAVE_SYSV_TTYS #define HAVE_TERMCAP #ifdef undef /* Things we don't have in A/UX */ #define HAVE_BSD_TTYS #define HAVE_VFORK #define HAVE_WAIT3 #endif #define FNDELAY O_NDELAY #ifndef bcopy #define bcopy(s1, s2, len) { \ register char *s__s = (char *)(s1); \ register char *s__d = (char *)(s2); \ register int n__n; \ if ((n__n = len) > 0 && s__s != s__d) { \ if (s__d < s__s || (s__s + n__n) <= s__d) { \ memcpy(s__d, s__s, n__n); \ } else { \ register char *s__se = s__s + n__n - 1; \ register char *s__de = s__d + n__n - 1; \ do \ *s__de-- = *s__se--; \ while (--n__n); \ }}}; #endif #ifndef bzero #define bzero(s, n) memset(s, '\0', n) #endif #define bcmp(s1, s2, n) memcmp(s1, s2, n)