This file is indexed.

/usr/share/mozart/doc/system/node80.html is in mozart-doc 1.4.0-8ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>27 Miscelleanous System Support: System</TITLE><LINK href="ozdoc.css" rel="stylesheet" type="text/css"></HEAD><BODY><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node79.html#chapter.finalize">&lt;&lt; Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="node81.html#chapter.tk">Next &gt;&gt;</A></TD></TR></TABLE><DIV id="chapter.system"><H1><A name="chapter.system">27 Miscelleanous System Support: <CODE>System</CODE></A></H1><P> The <CODE>System</CODE> module contains procedures providing functionality related to the Mozart Engine. </P><DIV id="section.system.control"><H2><A name="section.system.control">27.1 System Control</A></H2><P> </P><DL><DT><CODE>gcDo</CODE> <A name="label888"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{System<SPAN class="keyword">.</SPAN>gcDo}</CODE> </P></BLOCKQUOTE></DD><DD><P>Invokes garbage collection. </P></DD></DL><P> </P></DIV><DIV id="section.system.printing"><H2><A name="section.system.printing">27.2 Printing</A></H2><P> The procedures to print values and virtual strings choose the output device for the printed text as follows: </P><OL type="1"><LI><P>If Mozart is running standalone, the standard output or standard error device is chosen (depending on the procedure). </P></LI><LI><P>Otherwise the Oz Programming Interface is chosen as output device. </P></LI></OL><P> </P><P> The procedures explained here differ from those provided by <CODE>Open</CODE> and <CODE>OS</CODE> in that they can be used to print information in subordinated computation spaces to support debugging. </P><P> </P><DL><DT><CODE>print</CODE> <A name="label890"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{System<SPAN class="keyword">.</SPAN>print&nbsp;</CODE><CODE><I>X</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>The current information on <CODE><I>X</I></CODE> is printed without a following newline. </P><P> The output is limited in depth and width by system parameters that can be configured either by the Oz Panel (see <A href="../panel/index.html">``Oz Panel''</A>) or by <CODE>Property<SPAN class="keyword">.</SPAN>put</CODE> (see <A href="node58.html#chapter.property">Chapter&nbsp;23</A>). </P><P> A width of <IMG alt="n" src="latex8.png"> means that for lists at most <IMG alt="n" src="latex8.png"> elements and for records at most <IMG alt="n" src="latex8.png"> fields are printed, the unprinted elements and fields are abbreviated by <KBD>,,,</KBD>. A depth of <IMG alt="n" src="latex8.png"> means that trees are printed to a depth limit of <IMG alt="n" src="latex8.png"> only, deeper subtrees are abbreviated by <KBD>,,,</KBD>. </P><P> The printed text appears on standard output. </P></DD><DT id="system.show"><CODE>show</CODE> <A name="label892"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{System<SPAN class="keyword">.</SPAN>show&nbsp;</CODE><CODE><I>X</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>The current information on <CODE><I>X</I></CODE> is printed with a following newline. </P><P> The output is limited in depth and width as with <CODE>System<SPAN class="keyword">.</SPAN>print</CODE>. </P><P> The printed text appears on standard output. </P></DD><DT><CODE>printError</CODE> <A name="label894"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{System<SPAN class="keyword">.</SPAN>printError&nbsp;</CODE><CODE><I>V</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>Prints the virtual string <CODE><I>V</I></CODE> without a newline. </P><P> The printed text appears on standard error. </P></DD><DT><CODE>showError</CODE> <A name="label896"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{System<SPAN class="keyword">.</SPAN>showError&nbsp;</CODE><CODE><I>V</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>Prints the virtual string <CODE><I>V</I></CODE> followed by a newline. </P><P> The printed text appears on standard error. </P></DD><DT><CODE>printInfo</CODE> <A name="label898"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{System<SPAN class="keyword">.</SPAN>printInfo&nbsp;</CODE><CODE><I>V</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>Prints the virtual string <CODE><I>V</I></CODE> without a newline. </P><P> The printed text appears on standard output. </P></DD><DT><CODE>showInfo</CODE> <A name="label900"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{System<SPAN class="keyword">.</SPAN>showInfo&nbsp;</CODE><CODE><I>V</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>Prints the virtual string <CODE><I>V</I></CODE> followed by a newline. </P><P> The printed text appears on standard output. </P></DD></DL><P> </P></DIV><DIV id="section.system.misc"><H2><A name="section.system.misc">27.3 Miscellaneous</A></H2><P> </P><DL><DT><CODE>eq</CODE> <A name="label902"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{System<SPAN class="keyword">.</SPAN>eq&nbsp;</CODE><CODE><I>X</I></CODE><CODE>&nbsp;</CODE><CODE><I>Y</I></CODE><CODE>&nbsp;</CODE><CODE>?<I>B</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>Tests whether <CODE><I>X</I></CODE> and <CODE><I>Y</I></CODE> refer to the same value node in the store. </P></DD><DT><CODE>nbSusps</CODE> <A name="label904"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{System<SPAN class="keyword">.</SPAN>nbSusps&nbsp;</CODE><CODE><I>X</I></CODE><CODE>&nbsp;</CODE><CODE>?<I>I</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>Returns the number of suspensions on <CODE><I>X</I></CODE>, that is the number of threads and propagators that suspend on <CODE><I>X</I></CODE>. </P></DD><DT><CODE>onToplevel</CODE> <A name="label906"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{System<SPAN class="keyword">.</SPAN>onToplevel&nbsp;</CODE><CODE>?<I>B</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>Returns <CODE><SPAN class="keyword">true</SPAN></CODE> iff the current thread is executing in the top level space and not within a deep space. </P></DD></DL><P> </P></DIV></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node79.html#chapter.finalize">&lt;&lt; Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="node81.html#chapter.tk">Next &gt;&gt;</A></TD></TR></TABLE><HR><ADDRESS><A href="http://www.ps.uni-sb.de/~duchier/">Denys&nbsp;Duchier</A>, <A href="http://www.ps.uni-sb.de/~kornstae/">Leif&nbsp;Kornstaedt</A>, <A href="http://www.ps.uni-sb.de/~homik/">Martin&nbsp;Homik</A>, <A href="http://www.ps.uni-sb.de/~tmueller/">Tobias&nbsp;Müller</A>, <A href="http://www.ps.uni-sb.de/~schulte/">Christian&nbsp;Schulte</A> and&nbsp;<A href="http://www.info.ucl.ac.be/~pvr">Peter&nbsp;Van Roy</A><BR><SPAN class="version">Version 1.4.0 (20110908185330)</SPAN></ADDRESS></BODY></HTML>