Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site gatech.UUCP Path: utzoo!linus!decvax!microsoft!uw-beaver!cornell!vax135!ariel!houti!hogpc!houxm!hocda!spanky!burl!sb1!sb6!emory!gatech!arnold From: arnold@gatech.UUCP Newsgroups: net.unix-wizards Subject: Re: stack memory allocation - (nf) Message-ID: <295@gatech.UUCP> Date: Thu, 14-Jul-83 17:01:39 EDT Article-I.D.: gatech.295 Posted: Thu Jul 14 17:01:39 1983 Date-Received: Tue, 19-Jul-83 13:11:56 EDT References: <2404@uiucdcs.UUCP> Organization: Georgia Tech, School of ICS Lines: 22 The reason most people probably don't know about alloca in 4.1 BSD is that it isn't documented anywhere (at least where 'normal' users would see it). It is not mentioned on the man page with malloc and calloc, which is the usual place to look. it is also probably peculiar to Berkeley, and therefore not portable to machines running Bell Unix (v7, sys 3, sys 5, or whatever). (I mean using it is non-portable. I'm sure the code could be physically moved to any Vax-Unix system.) another reason is that most people don't go looking thru the libraries. there is nothing wrong in doing so, it's nice to know what one has, but when that is the only way to find a routine that's not documented, it's not surprising that the routine is little known. how 'bout it you folks at berkeley? if you're going to give us neat routines like alloca, how about telling us about them? You still have the chance with 4.2......... -- Arnold Robbins Arnold @ GATech (CS Net) Arnold.GATech @ UDel-Relay (ARPA) ...!{sb1, allegra}!gatech!arnold (uucp) ...!decvax!cornell!allegra!gatech!arnold