What is alloca()? [Is this unportable implementation OK?]

Don_A_Corbitt at cup.portal.com Don_A_Corbitt at cup.portal.com
Fri Sep 29 16:18:05 AEST 1989


The alloca() you posted for Turbo C will usually work.  Notably, it
will not work for some floating point code - TC 'knows' how far the 
stack pointer is from the frame pointer.  It subtracts from the stack
pointer, then stores relative the frame pointer.  If you have alloca()'ed,
it don't work no good.
	Don_A_Corbitt at cup.portal.com 
 "Trying for next month's bandwidth-waster posting"



More information about the Comp.lang.c mailing list