SETSTACKSPACE(1) MachTen Reference Manual SETSTACKSPACE(1)

NAME
setstackspace - modify the default stack size of an application

SYNOPSIS
setstackspace [<stacksize>] file

DESCRIPTION
setstackspace modifies the default stacksize for an application. If
stacksize is specified, the application default stack allocation is set
to stacksize bytes. If stacksize is not specified, the default stacksize
of the file(s) are printed.

NOTES
setstackspace will not operate on a running application. The setenv
STACKCHK 1 command will turn on stack analysis in the system. At program
exit, the allocated size and the maximum amount used will be printed on
the MachTen console. This allows developers to monitor stack allocation
and then use setstackspace to more properly reflect application stack re-
quirements.

SEE ALSO
ld(1)

4.4BSD September 25, 1995 1