Return to utils.h CVS log | Up to [cvs.NetBSD.org] / src / lib / libc / regex |
File: [cvs.NetBSD.org] / src / lib / libc / regex / utils.h (download)
Revision 1.3, Wed Feb 23 21:18:00 1994 UTC (30 years, 1 month ago) by jtc
Upgrade regex routines to alpha3.3. |
/* utility definitions */ #define DUPMAX _POSIX2_RE_DUP_MAX /* xxx is this right? */ #define INFINITY (DUPMAX + 1) #define NC (CHAR_MAX - CHAR_MIN + 1) typedef unsigned char uch; /* switch off assertions (if not already off) if no REDEBUG */ #ifndef REDEBUG #ifndef NDEBUG #define NDEBUG /* no assertions please */ #endif #endif #include <assert.h> /* for old systems with bcopy() but no memmove() */ #ifdef USEBCOPY #define memmove(d, s, c) bcopy(s, d, c) #endif