Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 1995 11:36:34 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        wollman@lcs.mit.edu (Garrett A. Wollman)
Cc:        ache@astral.msk.su, Kai.Vorma@hut.fi, current@freebsd.org
Subject:   Re: tail dumps core
Message-ID:  <199510101836.LAA10827@phaeton.artisoft.com>
In-Reply-To: <9510101735.AA10192@halloran-eldar.lcs.mit.edu> from "Garrett A. Wollman" at Oct 10, 95 01:35:06 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > Why not use 'calloc' instead? bzero isn't portable way.
> > Theoretically 'calloc' can do some internal optimization of zeroing.
> 
> Neither of these are portable unless the array being cleared is
> composed of characters.  There is almost never any reason to use
> calloc(3).

I don't understand where you see a non-portability.  Can you please
explain?  Thanks.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510101836.LAA10827>