stack memory allocation
gb at unc.UUCP
gb at unc.UUCP
Thu Jul 14 21:28:58 AEST 1983
On our 4.1BSD system, the command
find /usr/src/cmd -exec grep "\<alloca\>" "{}" \; -print
locates the following references to alloca.
-----------------------------------------------
* Note: because the routine "alloca" is not portable, TUBESIZE
cmd/ex/ex_tune.h
char *alloca(),*sp();
arglist = (int *) alloca((nargs + 1) * sizeof(int));
cmd/lisp/franz/eval2.c
char ch, *strb, strbb[BUFSIZ], *alloca(); /* temporary string buffer */
strb = alloca(count);
cmd/lisp/franz/lam5.c
register char *string; char *alloca();
string = alloca(count);
cmd/lisp/franz/lam6.c
char *sp(), *alloca();
work = (int *)alloca((top-bot)*2*sizeof(int));
cmd/lisp/franz/pbignum.c
int *sp(), *alloca(), d, negflag = 0, m, n, carry, rem, qhat, j;
qbot = alloca(toint(utop) + toint(vbot) - 2 * toint(ubot));
cmd/lisp/franz/divbig.c
char *strtbl,*alloca();
strtbl = alloca(strsize);
strtbl = alloca(strsize);
cmd/lisp/franz/ffasl.c
char *alloca(); /* stack space allocator */
string_core_org = alloca(string_size - 4);
binder_core_org = alloca(lit_end - bind_org);
cmd/lisp/franz/nfasl.c
char *alloca();
base = handy = (double *) alloca(count);
cmd/lisp/franz/vax.c
xcreat.c+s:char *alloca();
xcreat.c+s: d = alloca(size(name));
xmsg.c+s:char *alloca();
xmsg.c+s: str = alloca(size(file));
cmd/local/sccs/s4/FILES
char *alloca();
d = alloca(size(name));
cmd/local/sccs/s4/xcreat.c+s
char *alloca();
str = alloca(size(file));
cmd/local/sccs/s4/xmsg.c+s
char *alloca(); /* forwar decl */
v = ip = alloca(BUFSIZ);
v = ip = (int *) alloca(BUFSIZ);
cmd/local/sccs/com/dodelt.c+s
char *alloca(); /* forward */
xp = p = alloca(size(s));
cmd/local/sccs/com/pf_ab.c+s
---------------------------------------------
Gary Bishop
gb.unc at udel-relay
unc!gb
More information about the Comp.unix.wizards
mailing list