stack memory allocation
tim at unc.UUCP
tim at unc.UUCP
Mon Jul 11 04:26:26 AEST 1983
Stack space can be allocated in C, if its size is known at
translation time, by simply putting a declaration for the data at the
head of a block. When the block is entered, the space is allocated,
and when the block is left, the space is dealocated. This has the
added advantage of accessing the data through a variable instead of a
pointer, making for cleaner code.
______________________________________
The overworked keyboard of Tim Maroney
duke!unc!tim (USENET)
tim.unc at udel-relay (ARPA)
The University of North Carolina at Chapel Hill
More information about the Comp.unix.wizards
mailing list