Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site valid.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!hjuxa!petsd!pesnta!valid!sbs From: sbs@valid.UUCP (Steven Brian McKechnie Sargent) Newsgroups: net.lang.c Subject: Re: fast code and no morals Message-ID: <72@valid.UUCP> Date: Tue, 28-Jan-86 17:00:56 EST Article-I.D.: valid.72 Posted: Tue Jan 28 17:00:56 1986 Date-Received: Thu, 30-Jan-86 05:40:59 EST References: <842@megaron.UUCP> <489@zinfandel.UUCP> Distribution: net Organization: Valid Logic, San Jose, CA Lines: 15 *** REPLACE THIS LINE WITH YOUR MESSAGE *** Um. My 4bsd manual recommends bzero(buf, n) char *buf; which fills the ``n'' bytes starting at ``buf'' with 0. You can use this one or write your own; either way, the comments are in the manual where everybody can find 'em, and the code doesn't have to fit anybody's moral system but the maintainer's. I appreciate a tricky loop as much as the next guy, but in this case at least the problem seems already to have been solved. S.