09.06.2013 Views

Intel XENIX 286 Programmers Guide (86) - Tenox.tc

Intel XENIX 286 Programmers Guide (86) - Tenox.tc

Intel XENIX 286 Programmers Guide (86) - Tenox.tc

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Programming Commands <strong>XENIX</strong> Programming<br />

stackuse -<br />

Syntax<br />

Determines stack requirements for C programs.<br />

stackuse [-a] [ -mstartsym ] [ -rfakeref] [ -slibstack ] [ file ... ]<br />

Description<br />

stackuse determines the stack requirements of one or more C language programs. It<br />

displays the name of the main routine in a file, its stack requirements in bytes, and the<br />

number of recursive routines. All command line swi<strong>tc</strong>hes are optional.<br />

-a<br />

-mstartsym<br />

-rfakeref<br />

-slibstack<br />

Print data for all sy mbols, not just start symbols.<br />

Print only the specified start (main) sy mbol. If this option is not<br />

specified, all start symbols (including those which are not called by the<br />

program) will be printed.<br />

Uses the named file fakeref as a fake references file. The format is:<br />

parent child. The special parent.LEAF is a meta-parent meaning all<br />

leaf nodes.<br />

Uses the named file as library of costs for external routines. The<br />

format is: subr stack. The special subr.UNDEF is a meta-subroutine<br />

meaning all undefined routines.<br />

The -r and -s options may be repeated an arbitrary number of times. The effect is<br />

additive rather than destructive. In the case of duplicate definitions, the first is used.<br />

Lines of the -r and -s files which begin with a pound sign (#) are treated as comments<br />

and are ignored otherwise.<br />

8-110

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!