This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-19980531, warning patches [part 1/2]
- To: egcs at cygnus dot com
- Subject: Re: egcs-19980531, warning patches [part 1/2]
- From: Ulrich Drepper <drepper at cygnus dot com>
- Date: 05 Jun 1998 11:34:59 -0700
- Newsgroups: cygnus.egcs
- Organization: Cygnus Solutions
- References: <199806040019.UAA09655@caip.rutgers.edu>, <19980605091533.A20801.cygnus.egcs@keksy.mchp.siemens.de>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
martin.kahlert@mchp.siemens.de (Martin Kahlert) writes:
> I think calloc is an ANSI C library routine, which is as protable as
> can be. On my linux-system man bzero sais under Conforming to:
> '4.3BSD. This function is deprecated -- use memset in new programs'
Right. Plus calloc is on some system considerable faster. Latest
malloc implementation which use mmap()ed memory know the memory was
zeroed by the kernel.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------