Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!pasteur!ucbvax!LBL-RTSG.ARPA!vern%lbl-pistachio From: vern%lbl-pistachio@LBL-RTSG.ARPA (Vern Paxson) Newsgroups: comp.sources.d Subject: Re: bzero() Message-ID: <8805091706.AA00263@lbl-pistachio> Date: 9 May 88 17:06:20 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 15 bzero() sets an area of memory to 0. If you're running on a System V routine just #define SV and flex will use memset(), which is equivalent. If you don't have that, either, the following in flexdef.h will work (along with #define SV): #define memset(s, c, n) \ { \ register char *t = s; \ register unsigned int m = n; \ while ( m-- > 0 ) \ *t++ = c; \ } Vern