From owner-freebsd-current Tue Oct 10 13:31:42 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA02834 for current-outgoing; Tue, 10 Oct 1995 13:31:42 -0700 Received: from sequent.kiae.su (sequent.kiae.su [144.206.136.6]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id NAA02826 for ; Tue, 10 Oct 1995 13:31:22 -0700 Received: by sequent.kiae.su id AA22949 (5.65.kiae-2 ); Wed, 11 Oct 1995 00:17:25 +0400 Received: by sequent.KIAE.su (UUMAIL/2.0); Wed, 11 Oct 95 00:17:24 +0300 Received: (from ache@localhost) by ache.dialup.demos.ru (8.6.11/8.6.9) id WAA09795; Tue, 10 Oct 1995 22:56:27 +0300 To: Terry Lambert , "Garrett A. Wollman" Cc: Kai.Vorma@hut.fi, current@freebsd.org References: <199510101836.LAA10827@phaeton.artisoft.com> In-Reply-To: <199510101836.LAA10827@phaeton.artisoft.com>; from Terry Lambert at Tue, 10 Oct 1995 11:36:34 -0700 (MST) Message-Id: Organization: Olahm Ha-Yetzirah Date: Tue, 10 Oct 1995 22:56:27 +0300 (MSK) X-Mailer: Mail/@ [v2.40 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast Subject: Re: tail dumps core Lines: 22 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 848 Sender: owner-current@freebsd.org Precedence: bulk In message <199510101836.LAA10827@phaeton.artisoft.com> Terry Lambert writes: >> > 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. I mean not action (zeroing) but interface used only. bzero isn't POSIX function. calloc is. -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - FidoNet: 2:5020/230.3 : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849