Date: Sat, 28 Sep 1996 18:48:48 +0200 From: Poul-Henning Kamp <phk@critter.tfs.com> To: guido@gvr.win.tue.nl (Guido van Rooij) Cc: FreeBSD-hackers@FreeBSD.org (FreeBSD-hackers) Subject: Re: stack Message-ID: <536.843929328@critter.tfs.com> In-Reply-To: Your message of "Sat, 28 Sep 1996 17:20:52 %2B0200." <199609281520.RAA05793@gvr.win.tue.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <199609281520.RAA05793@gvr.win.tue.nl>, Guido van Rooij writes: >When I allocate something on the stack, isn't it supposed to be completely >zero? >like: >main(int argc, char **argv) { > char buf[1000]; > >... >} > >Then buf should be zero, or am I missing something here? no, only it it had been static would you get such a guarantee. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?536.843929328>