9 date 95.12.06.23.48.12; author jromine; state Exp;
14 date 93.02.26.21.54.00; author jromine; state Exp;
19 date 92.11.12.19.34.05; author jromine; state Exp;
24 date 92.11.11.23.04.16; author jromine; state Exp;
29 date 92.11.06.03.30.38; author jromine; state Exp;
34 date 92.11.04.02.36.15; author jromine; state Exp;
39 date 92.11.02.18.54.12; author jromine; state Exp;
44 date 92.10.30.05.52.07; author jromine; state Exp;
49 date 92.05.19.20.53.49; author jromine; state Exp;
54 date 92.05.12.21.47.25; author jromine; state Exp;
59 date 92.02.07.19.16.40; author jromine; state Exp;
64 date 92.01.31.21.37.07; author jromine; state Exp;
69 date 92.01.23.23.16.46; author jromine; state Exp;
74 date 90.04.05.16.18.34; author sources; state Exp;
79 date 90.04.05.15.05.46; author sources; state Exp;
84 date 90.04.02.13.24.20; author sources; state Exp;
89 date 90.03.27.19.14.00; author sources; state Exp;
94 date 90.03.19.09.30.19; author sources; state Exp;
99 date 90.02.01.13.22.13; author sources; state Exp;
104 date 90.02.01.13.21.13; author sources; state Exp;
115 @fix: don't re-define bcopy
118 @/* strings.h - define standard string functions */
119 /* @@(#)$Id: strings.h,v 1.19 1993/02/26 21:54:00 jromine Exp jromine $ */
121 #ifndef _STRINGS /* once-only... */
132 #define bcmp(b1,b2,length) memcmp(b1, b2, length)
133 #define bcopy(b1,b2,length) (void) memcpy (b2, b1, length)
134 #define bcpy(b1,b2,length) memcmp (b1, b2, length)
135 #define bzero(b,length) (void) memset (b, 0, length)
141 #define rindex strrchr
144 #if defined(BSD42) || defined(SVR4)
145 #if !defined(SVR4) && !defined(__386BSD__) && !defined(BSD44)
151 #else /* not BSD42 || SVR4 */
156 #ifndef ncr /* NCR compiler complains about re-declaration */
157 char *sprintf (); /* I guess this is the new standard */
160 SPRINTFTYPE sprintf ();
171 #if !defined(SVR4) && !defined(__386BSD__) && !defined(BSD44)
173 char *calloc (), *malloc (), *realloc ();
178 #define bcmp(b1,b2,length) memcmp(b1, b2, length)
179 #define bcopy(b1,b2,length) (void) memcpy (b2, b1, length)
180 #define bcpy(b1,b2,length) memcmp (b1, b2, length)
181 #define bzero(b,length) (void) memset (b, 0, length)
184 #endif /* not _STRINGS */
186 #if !defined(bcopy) && (defined(__HIGHC__) || __GNUC__ == 2)
187 #define bcopy(s,d,l) memcpy(d,s,l)
199 /* @@(#)$Id: strings.h,v 1.18 1992/11/12 19:34:05 jromine Exp jromine $ */
201 #if defined(__HIGHC__) || __GNUC__ == 2
202 #define bcopy(s,d,l) memcpy(d,s,l)
211 @drop u_short defn from AUX`
216 /* @@(#)$Id: strings.h,v 1.17 1992/11/11 23:04:16 jromine Exp jromine $ */
228 @SVR4 change for Solaris 2.x
233 /* @@(#)$Id: strings.h,v 1.16 1992/11/06 03:30:38 jromine Exp jromine $ */
236 #define u_short ushort
247 /* @@(#)$Id: strings.h,v 1.15 1992/11/04 02:36:15 jromine Exp jromine $ */
255 @remove _putenv defines
260 /* @@(#)$Id: strings.h,v 1.14 1992/11/02 18:54:12 jromine Exp jromine $ */
267 @don't define [r]index on _AIX since SYS5 defines them
272 /* @@(#)$Id: strings.h,v 1.13 1992/10/30 05:52:07 jromine Exp jromine $ */
274 #define putenv _putenv
282 @#ifdef around putenv decl in <stdlib.h>
288 /* @@(#)$Id: strings.h,v 1.12 1992/05/19 20:53:49 jromine Exp jromine $ */
292 #define rindex strrchr
303 /* @@(#)$Id: strings.h,v 1.11 1992/05/12 21:47:25 jromine Exp jromine $ */
316 /* @@(#)$Id: strings.h,v 1.10 1992/02/07 19:16:40 jromine Exp jromine $ */
330 /* @@(#)$Id: strings.h,v 1.9 1992/01/31 21:37:07 jromine Exp jromine $ */
350 /* @@(#)$Id: strings.h,v 1.8 1992/01/23 23:16:46 jromine Exp jromine $ */
366 /* @@(#)$Id: strings.h,v 1.7 1990/04/05 16:18:34 sources Exp jromine $ */
400 @@(SPRINTFTYPE)sprintf (); /* finally, a config option */
406 @make "sprintf" type a config option
421 /* this is getting gross. */
422 #if (!defined(hpux) && defined(SYS5)) || defined(SUN41)
440 #if defined(SYS5) || defined(SUN41)
446 @some more SYS5 #ifdefs