Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ist.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!mcvax!ukc!qtlon!ist!jmc From: jmc@ist.UUCP (John Collins) Newsgroups: net.lang.c Subject: Re: C stack frame sizes Message-ID: <264@ist.UUCP> Date: Mon, 10-Dec-84 18:21:46 EST Article-I.D.: ist.264 Posted: Mon Dec 10 18:21:46 1984 Date-Received: Sun, 16-Dec-84 05:24:33 EST References: <18092@arizona.UUCP>, <6255@brl-tgr.ARPA> <4722@utzoo.UUCP> Organization: Imperial Software Technology, London, England Lines: 14 One point which hasn't been made about the issue of stack frame sizes, at least not that I've seen, is that the stack never gets deallocated in UNIX, and if you call a function right at the start of your program which uses lots of stack space it stays allocated. The same is not true if you sbrk(2) the space you require, and tidy up afterwards, although I admit this is less convenient (I like the idea of the computer doing all the donkey work), but it does give you control if you need it, as you often do on small machines. -- John Collins calling courtesy of ist Please reply to ...!mcvax!ist!inset!jmc Phone: +44 727 57267 Snail: 47 Cedarwood Drive, St Albans, Herts, AL4 0DN, England