From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <01f2f410a87bdcb97fa5d526846a8b7b@plan9.bell-labs.com> From: jmk@plan9.bell-labs.com To: 9fans@cse.psu.edu Subject: Re: [9fans] thornbird (another xscreensaver hack) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Fri, 21 Jun 2002 21:45:53 -0400 Topicbox-Message-UUID: b5d7fa40-eaca-11e9-9e20-41e7f4b1d025 >I don't believe there is any requirement in the >C standard (although I haven't checked) for the returned memory to >be zeroed. A check of the 2 non-Plan 9 systems I have handy (Linux, >Irix) show one will zero the memory and one won't. Oops. I was confounded by the cursor control formatting when I did 'man malloc' on the Linux system - it doesn't clear memory either.