Files
pkgsrc-ng/pkgtools/pkglint/files/doc/chap.defs.xml
2013-09-26 17:14:40 +02:00

27 lines
856 B
XML

<!-- $NetBSD: chap.defs.xml,v 1.2 2008/09/16 14:19:11 rillig Exp $ -->
<!-- don't include useless definitions.
<chapter id="defs">
<title>Definitions</title>
<para>In every non-toy program, the need arises to define new
words or redefine and clarify existing words. This is the list
of words that are used in pkglint.</para>
<variablelist>
<varlistentry><term>function</term><listitem><para>A subroutine
that is called to obtain a return value, rather than for its
side effects. Functions should restrict the user-visible side
effects to the necessary minimum.</para>
</listitem></varlistentry>
<varlistentry><term>procedure</term><listitem><para>A subroutine
that is not called to obtain a return value, but rather called
because of its side effects, like input/output.</para>
</listitem></varlistentry>
</variablelist>
</chapter>
-->