Implementation of alloca() ?

Eric Schnoebelen eric at egsner.UUCP
Sat Dec 31 05:04:23 AEST 1988


In article <10770011 at hpcupt1.HP.COM> vandys at hpcupt1.HP.COM
(Andrew Valencia(Seattle)) writes:
->/ hpcupt1:comp.unix.microport / eric at 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 at texbell.uucp			...!texbell!egsner!eric
egs at u-word.dallas.tx.us				...!killer!u-word!egs
		"We Apologize for the Inconvenience"



More information about the Comp.unix.microport mailing list