Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!apple!rutgers!bellcore!texbell!egsner!eric From: eric@egsner.UUCP (Eric Schnoebelen) Newsgroups: comp.unix.microport Subject: Re: Implementation of alloca() ? Message-ID: <126@egsner.UUCP> Date: 30 Dec 88 19:04:23 GMT References: <357@cocktrice.UUCP> <10770011@hpcupt1.HP.COM> Reply-To: eric@egsner.UUCP (Eric Schnoebelen) Organization: Central Iowa (Model) Railroad, Lewisville, Tx. Lines: 29 In article <10770011@hpcupt1.HP.COM> vandys@hpcupt1.HP.COM (Andrew Valencia(Seattle)) writes: ->/ hpcupt1:comp.unix.microport / eric@egsner.UUCP (Eric Schnoebelen) (thats me!) / 6:08 am Dec 28, 1988 / ->>>Does any one have an implementation of alloca() which will allocate ->>>room on the stack and free it upon the return from a routine? -> -> Try linking in libPW from /lib/{small|large}. It includes a ->working alloca. I have used it with gnu make, gnu diff, etc. - - This is the case for SCO XENIX. Is it there for Microport? -I didn't find it in my MS-DOS C manual; did it make an appearance there, -and if so, where and at what version? - - Thanks... - Andy Yup, This is true for Microport System V/AT and Microport System V/386. I don't think I have ever seen libPW in a MS-DOS C manual, but Microsoft C 5.x does have alloca(). Eric -- Eric Schnoebelen egsner!eric@texbell.uucp ...!texbell!egsner!eric egs@u-word.dallas.tx.us ...!killer!u-word!egs "We Apologize for the Inconvenience"