Op Tue, 6 Mar 2007 22:23:22 -0800 schreef Gary Johnson
in <20070307062322.GA21235 AT suncomp1.spk.agilent.com>:
:  On 2007-03-07, Buzz wrote:
[...]
: > This indicates malloc returning non-zeroed memory.
: >
: > Has anybody got a clue as to what's going on?
:
:  Malloc() returns a pointer to a block of memory.  Other than size 
:  and alignment, the contents of that memory is not specified.  If you 
:  want a block of memory initialized to zero, use calloc().

You're right, of course. Excuse the noise.


L8r,

Buzz.
-- 
  ) |  | ---/ ---/  Yes, this | This message consists of true | I do not
--  |  |   /    /   really is |   and false bits entirely.    | mail for
  ) |  |  /    /    a 72 by 4 +-------------------------------+ any1 but
--  \--| /--- /---  .sigfile. |   |perl -pe "s.u(z)\1.as."    | me. 4^re

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to