72 lines
2.0 KiB
HTML
72 lines
2.0 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>mref(1)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>mref(1)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
mref - make listing and cross reference map of MINIX
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>mref</STRONG> [<STRONG>-dlmstx</STRONG>] [<STRONG>-p</STRONG> <EM>n</EM>] [<STRONG>-</STRONG><EM>n</EM>] <EM>file</EM> ...
|
|
|
|
|
|
</PRE>
|
|
<H2>OPTIONS</H2><PRE>
|
|
|
|
<STRONG>-d</STRONG> Do not produce definition file (global symbol table)
|
|
|
|
<STRONG>-l</STRONG> Do not produce listing
|
|
|
|
<STRONG>-m</STRONG> Multiple references on one line are cited only once
|
|
|
|
<STRONG>-p</STRONG> Set initial page number to <EM>n</EM>
|
|
|
|
<STRONG>-s</STRONG> Suppress line numbering between procedures
|
|
|
|
<STRONG>-t</STRONG> Generate output for <EM>troff</EM>
|
|
|
|
<STRONG>-x</STRONG> Do not produce the cross reference map
|
|
|
|
<STRONG>-</STRONG><EM>n</EM> Number of lines to print per page, default = 50
|
|
|
|
|
|
</PRE>
|
|
<H2>EXAMPLES</H2><PRE>
|
|
|
|
<STRONG>mref</STRONG> <STRONG>*.[</STRONG><EM>hc</EM>] # List and cross reference files .<EM>h</EM> and .<EM>c</EM>
|
|
|
|
<STRONG>mref</STRONG> <STRONG>-60</STRONG> <STRONG>-t</STRONG> <STRONG>*.c</STRONG> # Produce <EM>troff</EM> input at 60 lines/page
|
|
|
|
<STRONG>mref</STRONG> <STRONG>-dx</STRONG> <STRONG>-p</STRONG> <STRONG>100</STRONG> <STRONG>*.c</STRONG> # Listing only, first page is numbered 100
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
|
|
In default mode, <EM>mref</EM> produces three output files: a numbered listing of
|
|
the input files (on standard output), a global symbol table (on
|
|
<EM>symbol</EM>.<EM>out</EM>), and a cross reference map to the global symbols (on
|
|
<EM>xref</EM>.<EM>out</EM>). A global symbol in this context is one present in a #define,
|
|
PUBLIC, PRIVATE, or SYMBOL statement (the latter being introduced to
|
|
allow users to explicitly declare certain symbols as global). Any of the
|
|
three outputs can be suppressed, or alternatively, be made suitable for
|
|
input to <EM>troff</EM> for typesetting.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|