mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Improve parameter description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@242080 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
768cd0bd0f
commit
9bc94af73e
1 changed files with 16 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.14 -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.ftruncate">
|
||||
<refnamediv>
|
||||
|
@ -28,6 +28,11 @@
|
|||
<para>
|
||||
The file pointer.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
The <parameter>handle</parameter> must be open for writing.
|
||||
</para>
|
||||
</note>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
@ -36,6 +41,16 @@
|
|||
<para>
|
||||
The size to truncate to.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
If <parameter>size</parameter> is larger than the file it is extended
|
||||
with null bytes.
|
||||
</para>
|
||||
<para>
|
||||
If <parameter>size</parameter> is smaller than the file the extra data
|
||||
will be lost.
|
||||
</para>
|
||||
</note>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
|
Loading…
Reference in a new issue