svn: /phpdoc/en/trunk/ language-snippets.ent reference/posix/functions/posix-getrlimit.xml
| From: | Adam Harvey | Date: | Mon, 21 Sep 2015 12:17:58 +0000 |
| Subject: | svn: /phpdoc/en/trunk/ language-snippets.ent reference/posix/functions/posix-getrlimit.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13760@lists.php.net to get a copy of this message | ||
aharvey Mon, 21 Sep 2015 12:17:58 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=337881
Log:
Add an entity for the description of soft and hard limits.
Changed paths:
U phpdoc/en/trunk/language-snippets.ent
U phpdoc/en/trunk/reference/posix/functions/posix-getrlimit.xml
Modified: phpdoc/en/trunk/language-snippets.ent
===================================================================
--- phpdoc/en/trunk/language-snippets.ent 2015-09-21 12:17:54 UTC (rev 337880)
+++ phpdoc/en/trunk/language-snippets.ent 2015-09-21 12:17:58 UTC (rev 337881)
@@ -2065,6 +2065,16 @@
</listitem>
</varlistentry>'>
+<!ENTITY posix.rlimits '
+<para xmlns="http://docbook.org/ns/docbook">
+ Each resource has an associated soft and hard limit. The soft
+ limit is the value that the kernel enforces for the corresponding
+ resource. The hard limit acts as a ceiling for the soft limit.
+ An unprivileged process may only set its soft limit to a value
+ from 0 to the hard limit, and irreversibly lower its hard limit.
+</para>
+'>
+
<!-- strings snippets -->
<!ENTITY strings.parameter.encoding '
<para xmlns="http://docbook.org/ns/docbook">
Modified: phpdoc/en/trunk/reference/posix/functions/posix-getrlimit.xml
===================================================================
--- phpdoc/en/trunk/reference/posix/functions/posix-getrlimit.xml 2015-09-21 12:17:54 UTC (rev
337880)
+++ phpdoc/en/trunk/reference/posix/functions/posix-getrlimit.xml 2015-09-21 12:17:58 UTC (rev
337881)
@@ -16,13 +16,7 @@
<function>posix_getrlimit</function> returns an <type>array</type>
of information about the current resource's soft and hard limits.
</para>
- <para>
- Each resource has an associated soft and hard limit. The soft
- limit is the value that the kernel enforces for the corresponding
- resource. The hard limit acts as a ceiling for the soft limit.
- An unprivileged process may only set its soft limit to a value
- from 0 to the hard limit, and irreversibly lower its hard limit.
- </para>
+ &posix.rlimits;
</refsect1>
<refsect1 role="returnvalues">