fast code and no morals

Steven Brian McKechnie Sargent sbs at valid.UUCP
Wed Jan 29 08:00:56 AEST 1986


*** 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.



More information about the Comp.lang.c mailing list