cvs: phpdoc-zh /reference/filesystem/functions diskfreespace.xml fputs.xml is-writeable.xml set-file-buffer.xml umask.xml unlink.xml

From: Date: Sun, 04 Sep 2005 06:03:20 +0000
Subject: cvs: phpdoc-zh /reference/filesystem/functions diskfreespace.xml fputs.xml is-writeable.xml set-file-buffer.xml umask.xml unlink.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-2585@lists.php.net to get a copy of this message
dallas Sun Sep 4 02:03:20 2005 EDT Modified files: /phpdoc-zh/reference/filesystem/functions diskfreespace.xml fputs.xml is-writeable.xml set-file-buffer.xml umask.xml unlink.xml Log: Modify alias functions and WS fix.

http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/diskfreespace.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/diskfreespace.xml diff -u phpdoc-zh/reference/filesystem/functions/diskfreespace.xml:1.4 phpdoc-zh/reference/filesystem/functions/diskfreespace.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/diskfreespace.xml:1.4 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/diskfreespace.xml Sun Sep 4 02:03:19 2005 @@ -1,20 +1,19 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> <refentry id="function.diskfreespace"> - <refnamediv> - <refname>diskfreespace</refname> - <refpurpose>&Alias; <function>disk_free_space</function></refpurpose> - </refnamediv> + <refnamediv> + <refname>diskfreespace</refname> + <refpurpose><function>disk_free_space</function>µÄ&Alias;</refpurpose> + </refnamediv> - <refsect1 role="description"> - &reftitle.description; - <simpara> - &info.function.alias; - <function>disk_free_space</function>. - </simpara> - </refsect1> + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>disk_free_space</function>¡£ + </simpara> + </refsect1> </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/fputs.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/fputs.xml diff -u phpdoc-zh/reference/filesystem/functions/fputs.xml:1.5 phpdoc-zh/reference/filesystem/functions/fputs.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/fputs.xml:1.5 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/fputs.xml Sun Sep 4 02:03:19 2005 @@ -1,19 +1,18 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.6 Maintainer: lm92 Status: ready --> <refentry id="function.fputs"> - <refnamediv> - <refname>fputs</refname> - <refpurpose>&Alias; <function>fwrite</function></refpurpose> - </refnamediv> - <refsect1 role="description"> - &reftitle.description; - <simpara> - &info.function.alias; - <function>fwrite</function>. - </simpara> - </refsect1> + <refnamediv> + <refname>fputs</refname> + <refpurpose><function>fwrite</function>µÄ&Alias;</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>fwrite</function>¡£ + </simpara> + </refsect1> </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/is-writeable.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/is-writeable.xml diff -u phpdoc-zh/reference/filesystem/functions/is-writeable.xml:1.5 phpdoc-zh/reference/filesystem/functions/is-writeable.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/is-writeable.xml:1.5 Thu Aug 18 23:52:56 2005 +++ phpdoc-zh/reference/filesystem/functions/is-writeable.xml Sun Sep 4 02:03:19 2005 @@ -1,20 +1,19 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> - <refentry id="function.is-writeable"> - <refnamediv> - <refname>is_writeable</refname> - <refpurpose>&Alias; <function>is_writable</function></refpurpose> - </refnamediv> - <refsect1 role="description"> - &reftitle.description; - <simpara> - &info.function.alias; - <function>is_writable</function> - </simpara> - </refsect1> - </refentry> +<refentry id="function.is-writeable"> + <refnamediv> + <refname>is_writeable</refname> + <refpurpose><function>is_writable</function>µÄ&Alias;</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>is_writable</function>¡£ + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/set-file-buffer.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/set-file-buffer.xml diff -u phpdoc-zh/reference/filesystem/functions/set-file-buffer.xml:1.5 phpdoc-zh/reference/filesystem/functions/set-file-buffer.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/set-file-buffer.xml:1.5 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/set-file-buffer.xml Sun Sep 4 02:03:19 2005 @@ -1,19 +1,18 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> <refentry id="function.set-file-buffer"> - <refnamediv> - <refname>set_file_buffer</refname> - <refpurpose>&Alias; <function>stream_set_write_buffer</function></refpurpose> - </refnamediv> - <refsect1 role="description"> - &reftitle.description; - <simpara> - &info.function.alias; - <function>stream_set_write_buffer</function>¡£ - </simpara> - </refsect1> + <refnamediv> + <refname>set_file_buffer</refname> + <refpurpose><function>stream_set_write_buffer</function>µÄ&Alias;</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>stream_set_write_buffer</function>¡£ + </simpara> + </refsect1> </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/umask.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/umask.xml diff -u phpdoc-zh/reference/filesystem/functions/umask.xml:1.5 phpdoc-zh/reference/filesystem/functions/umask.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/umask.xml:1.5 Sun Aug 14 08:29:43 2005 +++ phpdoc-zh/reference/filesystem/functions/umask.xml Sun Sep 4 02:03:19 2005 @@ -1,55 +1,55 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.9 Maintainer: dallas Status: ready --> - <refentry id="function.umask"> - <refnamediv> - <refname>umask</refname> - <refpurpose>¸Ä±äµ±Ç°µÄ umask</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>int</type><methodname>umask</methodname> - <methodparam choice="opt"><type>int</type><parameter>mask</parameter></methodparam> - </methodsynopsis> - <para> - <function>umask</function> É趨 PHP µÄ <parameter>mask</parameter> - ΪÑÚÂë &amp; 0777 ²¢·µ»ØÔ­À´µÄ - umask¡£µ± PHP ±»×÷Ϊ·þÎñÆ÷Ä£¿éʹÓÃʱ£¬ÔÚÿ¸öÇëÇó½áÊøºó umask - »á±»»Ö¸´¡£ - </para> - <para> - ÎÞ²ÎÊýµ÷Óà <function>umask</function> »á·µ»Øµ±Ç°µÄ umask¡£ - </para> - <note> - <para> - ÔÚ¶àÏ̵߳ķþÎñÆ÷ÉϾ¡Á¿±ÜÃâʹÓÃÕâ¸öº¯Êý¡£´´½¨ÎļþºóÒª¸Ä±äÆäȨÏÞ×îºÃ»¹ÊÇʹÓà - <function>chmod</function>¡£Ê¹Óà <function>umask</function> - »áµ¼Ö²¢·¢³ÌÐòºÍ·þÎñÆ÷·¢Éú²»¿ÉÔ¤ÖªµÄÇé¿ö£¬ÒòΪËüÃÇÊÇʹÓÃÏàͬµÄ umask µÄ¡£ - </para> - </note> - <para> - <example> - <title><function>umask</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.umask"> + <refnamediv> + <refname>umask</refname> + <refpurpose>¸Ä±äµ±Ç°µÄ umask</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>umask</methodname> + <methodparam choice="opt"><type>int</type><parameter>mask</parameter></methodparam> + </methodsynopsis> + <para> + <function>umask</function> ½« PHP µÄ umask É趨Ϊ + <parameter>mask</parameter> &amp; 0777 ²¢·µ»ØÔ­À´µÄ + umask¡£µ± PHP ±»×÷Ϊ·þÎñÆ÷Ä£¿éʹÓÃʱ£¬ÔÚÿ¸öÇëÇó½áÊøºó umask + »á±»»Ö¸´¡£ + </para> + <para> + ÎÞ²ÎÊýµ÷Óà <function>umask</function> »á·µ»Øµ±Ç°µÄ umask¡£ + </para> + <note> + <para> + ÔÚ¶àÏ̵߳ķþÎñÆ÷ÉϾ¡Á¿±ÜÃâʹÓÃÕâ¸öº¯Êý¡£´´½¨ÎļþºóÒª¸Ä±äÆäȨÏÞ×îºÃ»¹ÊÇʹÓà + <function>chmod</function>¡£Ê¹Óà <function>umask</function> + »áµ¼Ö²¢·¢³ÌÐòºÍ·þÎñÆ÷·¢Éú²»¿ÉÔ¤ÖªµÄÇé¿ö£¬ÒòΪËüÃÇÊÇʹÓÃÏàͬµÄ umask µÄ¡£ + </para> + </note> + <para> + <example> + <title><function>umask</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php $old = umask(0); chmod("/path/some_dir/some_file.txt", 0755); umask($old); - + // Checking if ($old != umask()) { die('An error occured while changing back the umask'); } ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/unlink.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-zh/reference/filesystem/functions/unlink.xml diff -u phpdoc-zh/reference/filesystem/functions/unlink.xml:1.7 phpdoc-zh/reference/filesystem/functions/unlink.xml:1.8 --- phpdoc-zh/reference/filesystem/functions/unlink.xml:1.7 Sun Aug 14 07:37:11 2005 +++ phpdoc-zh/reference/filesystem/functions/unlink.xml Sun Sep 4 02:03:19 2005 @@ -1,36 +1,36 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.7 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.8 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.9 Maintainer: dallas Status: ready --> - <refentry id="function.unlink"> - <refnamediv> - <refname>unlink</refname> - <refpurpose>ɾ³ýÎļþ</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>bool</type><methodname>unlink</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - ɾ³ý <parameter>filename</parameter>¡£ºÍ Unix C µÄ - unlink() º¯ÊýÏàËÆ¡£&return.success; - </para> - <note> - <simpara> - ×Ô PHP 5.0.0 Æð - <function>unlink</function> Ò²¿ÉÒÔÓÃÓÚ<emphasis>ijЩ</emphasis> - url wrapper¡£²Î¿¼ <xref linkend="wrappers"/> ÖеÄÁÐ±í¿´ÄÄЩ·âװЭÒéÖ§³Ö - <function>unlink</function>¡£ - </simpara> - </note> - &note.context-support; - <para> - ²Î¼ûĿ¼ɾ³ýº¯Êý <function>rmdir</function>¡£ - </para> - </refsect1> - </refentry> +<refentry id="function.unlink"> + <refnamediv> + <refname>unlink</refname> + <refpurpose>ɾ³ýÎļþ</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>bool</type><methodname>unlink</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + ɾ³ý <parameter>filename</parameter>¡£ºÍ Unix C µÄ + unlink() º¯ÊýÏàËÆ¡£&return.success; + </para> + <note> + <simpara> + ×Ô PHP 5.0.0 Æð + <function>unlink</function> Ò²¿ÉÒÔÓÃÓÚ<emphasis>ijЩ</emphasis> + URL ·âװЭÒé¡£²Î¿¼<xref linkend="wrappers"/> ÖеÄÁÐ±í¿´ÄÄЩ·âװЭÒéÖ§³Ö + <function>unlink</function>¡£ + </simpara> + </note> + &note.context-support; + <para> + ²Î¼ûĿ¼ɾ³ýº¯Êý <function>rmdir</function>¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:
« previous php.doc.zh (#2585) next »