cvs: phpdoc-zh /reference/filesystem/functions is-link.xml is-readable.xml link.xml linkinfo.xml lstat.xml pclose.xml readfile.xml readlink.xml
realpath.xml rewind.xml
| From: | Dallas Thunder | Date: | Tue, 13 Sep 2005 16:57:43 +0000 |
| Subject: | cvs: phpdoc-zh /reference/filesystem/functions is-link.xml is-readable.xml link.xml linkinfo.xml lstat.xml pclose.xml readfile.xml readlink.xml realpath.xml rewind.xml |
||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2660@lists.php.net to get a copy of this message | ||
dallas Tue Sep 13 12:57:43 2005 EDT
Modified files:
/phpdoc-zh/reference/filesystem/functions is-link.xml
is-readable.xml link.xml
linkinfo.xml lstat.xml
pclose.xml readfile.xml
readlink.xml realpath.xml
rewind.xml
Log:
WS fix.
http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/is-link.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/is-link.xml diff -u phpdoc-zh/reference/filesystem/functions/is-link.xml:1.4 phpdoc-zh/reference/filesystem/functions/is-link.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/is-link.xml:1.4 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/is-link.xml Tue Sep 13 12:57:42 2005 @@ -1,32 +1,32 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> - <refentry id="function.is-link"> - <refnamediv> - <refname>is_link</refname> - <refpurpose>Åжϸø¶¨ÎļþÃûÊÇ·ñΪһ¸ö·ûºÅÁ¬½Ó</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>bool</type><methodname>is_link</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - Èç¹ûÎļþ´æÔÚ²¢ÇÒÊÇÒ»¸ö·ûºÅÁ¬½ÓÔò·µ»Ø &true;¡£ - </para> - - ¬e.clearstatcache; - - &tip.fopen-wrapper.stat; - - <para> - ²Î¼û <function>is_dir</function>£¬<function>is_file</function> - ºÍ <function>readlink</function>¡£ - </para> - </refsect1> - </refentry> +<refentry id="function.is-link"> + <refnamediv> + <refname>is_link</refname> + <refpurpose>Åжϸø¶¨ÎļþÃûÊÇ·ñΪһ¸ö·ûºÅÁ¬½Ó</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>bool</type><methodname>is_link</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + Èç¹ûÎļþ´æÔÚ²¢ÇÒÊÇÒ»¸ö·ûºÅÁ¬½ÓÔò·µ»Ø &true;¡£ + </para> + + ¬e.clearstatcache; + + &tip.fopen-wrapper.stat; + + <para> + ²Î¼û <function>is_dir</function>£¬<function>is_file</function> + ºÍ <function>readlink</function>¡£ + </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/is-readable.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/is-readable.xml diff -u phpdoc-zh/reference/filesystem/functions/is-readable.xml:1.4 phpdoc-zh/reference/filesystem/functions/is-readable.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/is-readable.xml:1.4 Sun Aug 14 10:51:54 2005 +++ phpdoc-zh/reference/filesystem/functions/is-readable.xml Tue Sep 13 12:57:42 2005 @@ -1,29 +1,29 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> - <refentry id="function.is-readable"> - <refnamediv> - <refname>is_readable</refname> - <refpurpose>Åжϸø¶¨ÎļþÃûÊÇ·ñ¿É¶Á</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>bool</type><methodname>is_readable</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - Èç¹ûÎļþ´æÔÚ²¢ÇҿɶÁÔò·µ»Ø &true;¡£ - </para> - <para> - ¼Çס PHP Ò²ÐíÖ»ÄÜÒÔÔËÐÐ webserver µÄÓû§Ãû£¨Í¨³£Îª - 'nobody'£©À´·ÃÎÊÎļþ¡£²»¼ÆÈ밲ȫģʽµÄÏÞÖÆ¡£ - </para> - <para> - <example> - <title><function>is_writable</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.is-readable"> + <refnamediv> + <refname>is_readable</refname> + <refpurpose>Åжϸø¶¨ÎļþÃûÊÇ·ñ¿É¶Á</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>bool</type><methodname>is_readable</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + Èç¹ûÎļþ´æÔÚ²¢ÇҿɶÁÔò·µ»Ø &true;¡£ + </para> + <para> + ¼Çס PHP Ò²ÐíÖ»ÄÜÒÔÔËÐÐ webserver µÄÓû§Ãû£¨Í¨³£Îª + 'nobody'£©À´·ÃÎÊÎļþ¡£²»¼ÆÈ밲ȫģʽµÄÏÞÖÆ¡£ + </para> + <para> + <example> + <title><function>is_writable</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php $filename = 'test.txt'; @@ -34,17 +34,17 @@ } ?> ]]> - </programlisting> - </example> - </para> - ¬e.clearstatcache; - &tip.fopen-wrapper.stat; - <para> - ²Î¼û <function>is_writable</function>£¬<function>file_exists</function> - ºÍ <function>fgets</function>¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + ¬e.clearstatcache; + &tip.fopen-wrapper.stat; + <para> + ²Î¼û <function>is_writable</function>£¬<function>file_exists</function> + ºÍ <function>fgets</function>¡£ + </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/link.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/link.xml diff -u phpdoc-zh/reference/filesystem/functions/link.xml:1.5 phpdoc-zh/reference/filesystem/functions/link.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/link.xml:1.5 Sun Aug 14 10:32:06 2005 +++ phpdoc-zh/reference/filesystem/functions/link.xml Tue Sep 13 12:57:42 2005 @@ -1,31 +1,31 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> - <refentry id="function.link"> - <refnamediv> - <refname>link</refname> - <refpurpose>½¨Á¢Ò»¸öÓ²Á¬½Ó</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>bool</type><methodname>link</methodname> - <methodparam><type>string</type><parameter>target</parameter></methodparam> - <methodparam><type>string</type><parameter>link</parameter></methodparam> - </methodsynopsis> - <para> - <function>link</function> ½¨Á¢Ò»¸öÓ²Á¬½Ó¡£&return.success; - </para> - ¬e.no-remote; - ¬e.no-windows; - <para> - ²Î¼û <function>symlink</function> À´½¨Á¢ÈíÁ¬½Ó£¬ÒÔ¼° - <function>readlink</function> ºÍ - <function>linkinfo</function>¡£ - </para> - </refsect1> - </refentry> +<refentry id="function.link"> + <refnamediv> + <refname>link</refname> + <refpurpose>½¨Á¢Ò»¸öÓ²Á¬½Ó</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>bool</type><methodname>link</methodname> + <methodparam><type>string</type><parameter>target</parameter></methodparam> + <methodparam><type>string</type><parameter>link</parameter></methodparam> + </methodsynopsis> + <para> + <function>link</function> ½¨Á¢Ò»¸öÓ²Á¬½Ó¡£&return.success; + </para> + ¬e.no-remote; + ¬e.no-windows; + <para> + ²Î¼û <function>symlink</function> À´½¨Á¢ÈíÁ¬½Ó£¬ÒÔ¼° + <function>readlink</function> ºÍ + <function>linkinfo</function>¡£ + </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/linkinfo.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/linkinfo.xml diff -u phpdoc-zh/reference/filesystem/functions/linkinfo.xml:1.5 phpdoc-zh/reference/filesystem/functions/linkinfo.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/linkinfo.xml:1.5 Sun Aug 14 10:30:12 2005 +++ phpdoc-zh/reference/filesystem/functions/linkinfo.xml Tue Sep 13 12:57:42 2005 @@ -1,29 +1,29 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> - <refentry id="function.linkinfo"> - <refnamediv> - <refname>linkinfo</refname> - <refpurpose>»ñȡһ¸öÁ¬½ÓµÄÐÅÏ¢</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>int</type><methodname>linkinfo</methodname> - <methodparam><type>string</type><parameter>path</parameter></methodparam> - </methodsynopsis> - <para> - <function>linkinfo</function> ·µ»Ø <literal>lstat</literal> - ϵͳµ÷ÓÃËù·µ»ØµÄ UNIX C stat ½á¹¹ÖÐµÄ <literal>st_dev</literal> - ×ֶΡ£±¾º¯ÊýÓÃÀ´ÑéÖ¤Ò»¸öÁ¬½Ó£¨ÓÉ <parameter>path</parameter> - ËùÖ¸ÏòµÄ£©ÊÇ·ñȷʵ´æÔÚ£¨Ê¹Óà <filename>stat.h</filename> ÖÐµÄ S_ISLNK - ºêͬÑùµÄ·½·¨£©¡£Èç¹û³ö´íÔò·µ»Ø 0 »ò &false;¡£ - </para> - <para> - <example> - <title><function>linkinfo</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.linkinfo"> + <refnamediv> + <refname>linkinfo</refname> + <refpurpose>»ñȡһ¸öÁ¬½ÓµÄÐÅÏ¢</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>linkinfo</methodname> + <methodparam><type>string</type><parameter>path</parameter></methodparam> + </methodsynopsis> + <para> + <function>linkinfo</function> ·µ»Ø <literal>lstat</literal> + ϵͳµ÷ÓÃËù·µ»ØµÄ UNIX C stat ½á¹¹ÖÐµÄ <literal>st_dev</literal> + ×ֶΡ£±¾º¯ÊýÓÃÀ´ÑéÖ¤Ò»¸öÁ¬½Ó£¨ÓÉ <parameter>path</parameter> + ËùÖ¸ÏòµÄ£©ÊÇ·ñȷʵ´æÔÚ£¨Ê¹Óà <filename>stat.h</filename> ÖÐµÄ S_ISLNK + ºêͬÑùµÄ·½·¨£©¡£Èç¹û³ö´íÔò·µ»Ø 0 »ò &false;¡£ + </para> + <para> + <example> + <title><function>linkinfo</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php @@ -31,17 +31,17 @@ ?> ]]> - </programlisting> - </example> - </para> - ¬e.no-windows; - <para> - ²Î¼û - <function>symlink</function>£¬<function>link</function> - ºÍ <function>readlink</function>¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + ¬e.no-windows; + <para> + ²Î¼û + <function>symlink</function>£¬<function>link</function> + ºÍ <function>readlink</function>¡£ + </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/lstat.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/lstat.xml diff -u phpdoc-zh/reference/filesystem/functions/lstat.xml:1.5 phpdoc-zh/reference/filesystem/functions/lstat.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/lstat.xml:1.5 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/lstat.xml Tue Sep 13 12:57:42 2005 @@ -1,37 +1,37 @@ <?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.lstat"> - <refnamediv> - <refname>lstat</refname> - <refpurpose>¸ø³öÒ»¸öÎļþ»ò·ûºÅÁ¬½ÓµÄÐÅÏ¢</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>array</type><methodname>lstat</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - »ñÈ¡ÓÉ <parameter>filename</parameter> Ö¸¶¨µÄÎļþ»ò·ûºÅÁ¬½ÓµÄͳ¼ÆÐÅÏ¢¡£±¾º¯ÊýºÍ - <function>stat</function> º¯ÊýÏàͬ£¬Ö»³ýÁËÈç¹û - <parameter>filename</parameter> ²ÎÊýÊÇ·ûºÅÁ¬½ÓµÄ»°£¬Ôò¸Ã·ûºÅÁ¬½ÓµÄ״̬±»·µ»Ø£¬¶ø²»ÊǸ÷ûºÅÁ¬½ÓËùÖ¸ÏòµÄÎļþµÄ״̬¡£ - </para> - <para> - ÓÐ¹Ø <function>lstat</function> - ·µ»ØµÄÊý×é½á¹¹¼ûÊÖ²áÖÐ <function>stat</function> º¯ÊýµÄÒ³Ãæ¡£ - </para> +<refentry id="function.lstat"> + <refnamediv> + <refname>lstat</refname> + <refpurpose>¸ø³öÒ»¸öÎļþ»ò·ûºÅÁ¬½ÓµÄÐÅÏ¢</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>array</type><methodname>lstat</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + »ñÈ¡ÓÉ <parameter>filename</parameter> Ö¸¶¨µÄÎļþ»ò·ûºÅÁ¬½ÓµÄͳ¼ÆÐÅÏ¢¡£±¾º¯ÊýºÍ + <function>stat</function> º¯ÊýÏàͬ£¬Ö»³ýÁËÈç¹û + <parameter>filename</parameter> ²ÎÊýÊÇ·ûºÅÁ¬½ÓµÄ»°£¬Ôò¸Ã·ûºÅÁ¬½ÓµÄ״̬±»·µ»Ø£¬¶ø²»ÊǸ÷ûºÅÁ¬½ÓËùÖ¸ÏòµÄÎļþµÄ״̬¡£ + </para> + <para> + ÓÐ¹Ø <function>lstat</function> + ·µ»ØµÄÊý×é½á¹¹¼ûÊÖ²áÖÐ <function>stat</function> º¯ÊýµÄÒ³Ãæ¡£ + </para> - ¬e.clearstatcache; - - &tip.fopen-wrapper.stat; - - <simpara> - ²Î¼û <function>stat</function>¡£ - </simpara> - </refsect1> - </refentry> + ¬e.clearstatcache; + + &tip.fopen-wrapper.stat; + + <simpara> + ²Î¼û <function>stat</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/pclose.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-zh/reference/filesystem/functions/pclose.xml diff -u phpdoc-zh/reference/filesystem/functions/pclose.xml:1.3 phpdoc-zh/reference/filesystem/functions/pclose.xml:1.4 --- phpdoc-zh/reference/filesystem/functions/pclose.xml:1.3 Wed Apr 23 21:37:31 2003 +++ phpdoc-zh/reference/filesystem/functions/pclose.xml Tue Sep 13 12:57:42 2005 @@ -1,34 +1,34 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> - <refentry id="function.pclose"> - <refnamediv> - <refname>pclose</refname> - <refpurpose>¹Ø±Õ½ø³ÌÎļþÖ¸Õë</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>int</type><methodname>pclose</methodname> - <methodparam><type>resource</type><parameter>handle</parameter></methodparam> - </methodsynopsis> - <para> - ¹Ø±ÕÓà - <function>popen</function> ´ò¿ªµÄÖ¸Ïò¹ÜµÀµÄÎļþÖ¸Õë¡£ - </para> - <para> - ÎļþÖ¸Õë±ØÐëÓÐЧ£¬ÇÒ±ØÐëÊdzɹ¦µ÷Óà - <function>popen</function> Ëù·µ»ØµÄ¡£ - </para> - <para> - ·µ»ØÔËÐеĽø³ÌµÄÖÕֹ״̬¡£ - </para> - <para> - ²Î¼û <function>popen</function>¡£ - </para> - </refsect1> - </refentry> +<refentry id="function.pclose"> + <refnamediv> + <refname>pclose</refname> + <refpurpose>¹Ø±Õ½ø³ÌÎļþÖ¸Õë</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>pclose</methodname> + <methodparam><type>resource</type><parameter>handle</parameter></methodparam> + </methodsynopsis> + <para> + ¹Ø±ÕÓà + <function>popen</function> ´ò¿ªµÄÖ¸Ïò¹ÜµÀµÄÎļþÖ¸Õë¡£ + </para> + <para> + ÎļþÖ¸Õë±ØÐëÓÐЧ£¬ÇÒ±ØÐëÊdzɹ¦µ÷Óà + <function>popen</function> Ëù·µ»ØµÄ¡£ + </para> + <para> + ·µ»ØÔËÐеĽø³ÌµÄÖÕֹ״̬¡£ + </para> + <para> + ²Î¼û <function>popen</function>¡£ + </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/readfile.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/readfile.xml diff -u phpdoc-zh/reference/filesystem/functions/readfile.xml:1.5 phpdoc-zh/reference/filesystem/functions/readfile.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/readfile.xml:1.5 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/readfile.xml Tue Sep 13 12:57:42 2005 @@ -1,41 +1,41 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> - <refentry id="function.readfile"> - <refnamediv> - <refname>readfile</refname> - <refpurpose>Êä³öÒ»¸öÎļþ</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>int</type><methodname>readfile</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter></methodparam> - <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam> - </methodsynopsis> - <para> - ¶ÁÈëÒ»¸öÎļþ²¢Ð´Èëµ½Êä³ö»º³å¡£ - </para> - <para> - ·µ»Ø´ÓÎļþÖжÁÈëµÄ×Ö½ÚÊý¡£Èç¹û³ö´í·µ»Ø - &false; ²¢ÇÒ³ý·ÇÊÇÒÔ - @<function>readfile</function> ÐÎʽµ÷Ó㬷ñÔò»áÏÔʾ´íÎóÐÅÏ¢¡£ - </para> - &tip.fopen-wrapper; - <para> - Èç¹ûÒ²ÏëÔÚ - <link linkend="ini.include-path">include_path</link> - ÖÐËÑË÷Îļþ£¬¿ÉÒÔʹÓÿÉÑ¡µÄµÚ¶þ¸ö²ÎÊý²¢½«ÆäÉèΪ &true;¡£ - </para> - ¬e.context-support; - <para> - ²Î¼û <function>fpassthru</function>£¬<function>file</function>£¬<function>fopen</function>£¬<function>include</function>£¬<function>require</function>£¬<function>virtual</function>£¬<function>file_get_contents</function> - ºÍ<xref linkend="wrappers"/>¡£ - </para> - </refsect1> - </refentry> +<refentry id="function.readfile"> + <refnamediv> + <refname>readfile</refname> + <refpurpose>Êä³öÒ»¸öÎļþ</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>readfile</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam> + </methodsynopsis> + <para> + ¶ÁÈëÒ»¸öÎļþ²¢Ð´Èëµ½Êä³ö»º³å¡£ + </para> + <para> + ·µ»Ø´ÓÎļþÖжÁÈëµÄ×Ö½ÚÊý¡£Èç¹û³ö´í·µ»Ø + &false; ²¢ÇÒ³ý·ÇÊÇÒÔ + @<function>readfile</function> ÐÎʽµ÷Ó㬷ñÔò»áÏÔʾ´íÎóÐÅÏ¢¡£ + </para> + &tip.fopen-wrapper; + <para> + Èç¹ûÒ²ÏëÔÚ + <link linkend="ini.include-path">include_path</link> + ÖÐËÑË÷Îļþ£¬¿ÉÒÔʹÓÿÉÑ¡µÄµÚ¶þ¸ö²ÎÊý²¢½«ÆäÉèΪ &true;¡£ + </para> + ¬e.context-support; + <para> + ²Î¼û <function>fpassthru</function>£¬<function>file</function>£¬<function>fopen</function>£¬<function>include</function>£¬<function>require</function>£¬<function>virtual</function>£¬<function>file_get_contents</function> + ºÍ<xref linkend="wrappers"/>¡£ + </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/readlink.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-zh/reference/filesystem/functions/readlink.xml diff -u phpdoc-zh/reference/filesystem/functions/readlink.xml:1.7 phpdoc-zh/reference/filesystem/functions/readlink.xml:1.8 --- phpdoc-zh/reference/filesystem/functions/readlink.xml:1.7 Thu Aug 18 23:52:56 2005 +++ phpdoc-zh/reference/filesystem/functions/readlink.xml Tue Sep 13 12:57:42 2005 @@ -1,26 +1,26 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.7 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.8 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> - <refentry id="function.readlink"> - <refnamediv> - <refname>readlink</refname> - <refpurpose>·µ»Ø·ûºÅÁ¬½ÓÖ¸ÏòµÄÄ¿±ê</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>string</type><methodname>readlink</methodname> - <methodparam><type>string</type><parameter>path</parameter></methodparam> - </methodsynopsis> - <para> - <function>readlink</function> ºÍͬÃûµÄ C - º¯Êý×öͬÑùµÄÊ£¬·µ»Ø·ûºÅÁ¬½ÓµÄÄÚÈÝ¡£Èç¹û³ö´í·µ»Ø &false;¡£ - </para> - <para> - <example> - <title><function>readlink</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.readlink"> + <refnamediv> + <refname>readlink</refname> + <refpurpose>·µ»Ø·ûºÅÁ¬½ÓÖ¸ÏòµÄÄ¿±ê</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>string</type><methodname>readlink</methodname> + <methodparam><type>string</type><parameter>path</parameter></methodparam> + </methodsynopsis> + <para> + <function>readlink</function> ºÍͬÃûµÄ C + º¯Êý×öͬÑùµÄÊ£¬·µ»Ø·ûºÅÁ¬½ÓµÄÄÚÈÝ¡£Èç¹û³ö´í·µ»Ø &false;¡£ + </para> + <para> + <example> + <title><function>readlink</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php @@ -29,16 +29,16 @@ ?> ]]> - </programlisting> - </example> - </para> - ¬e.no-windows; - <para> - ²Î¼û <function>is_link</function>£¬<function>symlink</function> ºÍ - <function>linkinfo</function>¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + ¬e.no-windows; + <para> + ²Î¼û <function>is_link</function>£¬<function>symlink</function> ºÍ + <function>linkinfo</function>¡£ + </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/realpath.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/filesystem/functions/realpath.xml diff -u phpdoc-zh/reference/filesystem/functions/realpath.xml:1.6 phpdoc-zh/reference/filesystem/functions/realpath.xml:1.7 --- phpdoc-zh/reference/filesystem/functions/realpath.xml:1.6 Sun Aug 14 08:36:24 2005 +++ phpdoc-zh/reference/filesystem/functions/realpath.xml Tue Sep 13 12:57:42 2005 @@ -1,47 +1,47 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.7 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.8 Maintainer: dallas Status: ready --> - <refentry id="function.realpath"> - <refnamediv> - <refname>realpath</refname> - <refpurpose>·µ»Ø¹æ·¶»¯µÄ¾ø¶Ô·¾¶Ãû</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>string</type><methodname>realpath</methodname> - <methodparam><type>string</type><parameter>path</parameter></methodparam> - </methodsynopsis> - <para> - <function>realpath</function> À©Õ¹ËùÓеķûºÅÁ¬½Ó²¢ÇÒ´¦ÀíÊäÈëµÄ - <parameter>path</parameter> ÖÐµÄ '/./', '/../' ÒÔ¼°¶àÓàµÄ '/' - ²¢·µ»Ø¹æ·¶»¯ºóµÄ¾ø¶Ô·¾¶Ãû¡£·µ»ØµÄ·¾¶ÖÐûÓзûºÅÁ¬½Ó£¬'/./' - »ò '/../' ³É·Ö¡£ - </para> - <para> - <function>realpath</function> ʧ°Üʱ·µ»Ø &false;£¬±ÈÈç˵Îļþ²»´æÔڵϰ¡£ÔÚ BSD - ϵͳÉÏ£¬Èç¹û½ö½öÊÇ <parameter>path</parameter> ²»´æÔڵϰ£¬PHP - ²¢²»»áÏñÆäËüϵͳÄÇÑù·µ»Ø &false;¡£ - </para> - <para> - <example> - <title><function>realpath</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.realpath"> + <refnamediv> + <refname>realpath</refname> + <refpurpose>·µ»Ø¹æ·¶»¯µÄ¾ø¶Ô·¾¶Ãû</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>string</type><methodname>realpath</methodname> + <methodparam><type>string</type><parameter>path</parameter></methodparam> + </methodsynopsis> + <para> + <function>realpath</function> À©Õ¹ËùÓеķûºÅÁ¬½Ó²¢ÇÒ´¦ÀíÊäÈëµÄ + <parameter>path</parameter> ÖÐµÄ '/./', '/../' ÒÔ¼°¶àÓàµÄ '/' + ²¢·µ»Ø¹æ·¶»¯ºóµÄ¾ø¶Ô·¾¶Ãû¡£·µ»ØµÄ·¾¶ÖÐûÓзûºÅÁ¬½Ó£¬'/./' + »ò '/../' ³É·Ö¡£ + </para> + <para> + <function>realpath</function> ʧ°Üʱ·µ»Ø &false;£¬±ÈÈç˵Îļþ²»´æÔڵϰ¡£ÔÚ BSD + ϵͳÉÏ£¬Èç¹û½ö½öÊÇ <parameter>path</parameter> ²»´æÔڵϰ£¬PHP + ²¢²»»áÏñÆäËüϵͳÄÇÑù·µ»Ø &false;¡£ + </para> + <para> + <example> + <title><function>realpath</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php $real_path = realpath("../../index.php"); ?> ]]> - </programlisting> - </example> - </para> - <para> - ²Î¼û <function>basename</function>£¬<function>dirname</function> ºÍ - <function>pathinfo</function>¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + ²Î¼û <function>basename</function>£¬<function>dirname</function> ºÍ + <function>pathinfo</function>¡£ + </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/rewind.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/rewind.xml diff -u phpdoc-zh/reference/filesystem/functions/rewind.xml:1.5 phpdoc-zh/reference/filesystem/functions/rewind.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/rewind.xml:1.5 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/rewind.xml Tue Sep 13 12:57:42 2005 @@ -1,39 +1,39 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.8 Maintainer: dallas Status: ready --> - <refentry id="function.rewind"> - <refnamediv> - <refname>rewind</refname> - <refpurpose>µ¹»ØÎļþÖ¸ÕëµÄλÖÃ</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>bool</type><methodname>rewind</methodname> - <methodparam><type>resource</type><parameter>handle</parameter></methodparam> - </methodsynopsis> - <para> - ½« <parameter>handle</parameter> µÄÎļþλÖÃÖ¸ÕëÉèΪÎļþÁ÷µÄ¿ªÍ·¡£ - </para> - <para> - &return.success; - </para> - <para> - ÎļþÖ¸Õë±ØÐëºÏ·¨£¬²¢ÇÒÖ¸ÏòÓÉ <function>fopen</function> - ³É¹¦´ò¿ªµÄÎļþ¡£ - </para> - <note> - <para> - Èç¹û½«ÎļþÒÔ¸½¼Ó£¨"a" »òÕß "a+"£©Ä£Ê½´ò¿ª£¬Ð´ÈëÎļþµÄÈκÎÊý¾Ý×ÜÊǻᱻ¸½¼ÓÔÚºóÃæ£¬²»¹ÜÎļþÖ¸ÕëµÄλÖᣠ- </para> - </note> - <para> - ²Î¼û <function>fseek</function> ºÍ - <function>ftell</function>¡£ - </para> - </refsect1> - </refentry> +<refentry id="function.rewind"> + <refnamediv> + <refname>rewind</refname> + <refpurpose>µ¹»ØÎļþÖ¸ÕëµÄλÖÃ</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>bool</type><methodname>rewind</methodname> + <methodparam><type>resource</type><parameter>handle</parameter></methodparam> + </methodsynopsis> + <para> + ½« <parameter>handle</parameter> µÄÎļþλÖÃÖ¸ÕëÉèΪÎļþÁ÷µÄ¿ªÍ·¡£ + </para> + <para> + &return.success; + </para> + <para> + ÎļþÖ¸Õë±ØÐëºÏ·¨£¬²¢ÇÒÖ¸ÏòÓÉ <function>fopen</function> + ³É¹¦´ò¿ªµÄÎļþ¡£ + </para> + <note> + <para> + Èç¹û½«ÎļþÒÔ¸½¼Ó£¨"a" »òÕß "a+"£©Ä£Ê½´ò¿ª£¬Ð´ÈëÎļþµÄÈκÎÊý¾Ý×ÜÊǻᱻ¸½¼ÓÔÚºóÃæ£¬²»¹ÜÎļþÖ¸ÕëµÄλÖᣠ+ </para> + </note> + <para> + ²Î¼û <function>fseek</function> ºÍ + <function>ftell</function>¡£ + </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/is-link.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/is-link.xml diff -u phpdoc-zh/reference/filesystem/functions/is-link.xml:1.4 phpdoc-zh/reference/filesystem/functions/is-link.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/is-link.xml:1.4 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/is-link.xml Tue Sep 13 12:57:42 2005 @@ -1,32 +1,32 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> - <refentry id="function.is-link"> - <refnamediv> - <refname>is_link</refname> - <refpurpose>Åжϸø¶¨ÎļþÃûÊÇ·ñΪһ¸ö·ûºÅÁ¬½Ó</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>bool</type><methodname>is_link</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - Èç¹ûÎļþ´æÔÚ²¢ÇÒÊÇÒ»¸ö·ûºÅÁ¬½ÓÔò·µ»Ø &true;¡£ - </para> - - ¬e.clearstatcache; - - &tip.fopen-wrapper.stat; - - <para> - ²Î¼û <function>is_dir</function>£¬<function>is_file</function> - ºÍ <function>readlink</function>¡£ - </para> - </refsect1> - </refentry> +<refentry id="function.is-link"> + <refnamediv> + <refname>is_link</refname> + <refpurpose>Åжϸø¶¨ÎļþÃûÊÇ·ñΪһ¸ö·ûºÅÁ¬½Ó</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>bool</type><methodname>is_link</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + Èç¹ûÎļþ´æÔÚ²¢ÇÒÊÇÒ»¸ö·ûºÅÁ¬½ÓÔò·µ»Ø &true;¡£ + </para> + + ¬e.clearstatcache; + + &tip.fopen-wrapper.stat; + + <para> + ²Î¼û <function>is_dir</function>£¬<function>is_file</function> + ºÍ <function>readlink</function>¡£ + </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/is-readable.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/is-readable.xml diff -u phpdoc-zh/reference/filesystem/functions/is-readable.xml:1.4 phpdoc-zh/reference/filesystem/functions/is-readable.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/is-readable.xml:1.4 Sun Aug 14 10:51:54 2005 +++ phpdoc-zh/reference/filesystem/functions/is-readable.xml Tue Sep 13 12:57:42 2005 @@ -1,29 +1,29 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> - <refentry id="function.is-readable"> - <refnamediv> - <refname>is_readable</refname> - <refpurpose>Åжϸø¶¨ÎļþÃûÊÇ·ñ¿É¶Á</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>bool</type><methodname>is_readable</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - Èç¹ûÎļþ´æÔÚ²¢ÇҿɶÁÔò·µ»Ø &true;¡£ - </para> - <para> - ¼Çס PHP Ò²ÐíÖ»ÄÜÒÔÔËÐÐ webserver µÄÓû§Ãû£¨Í¨³£Îª - 'nobody'£©À´·ÃÎÊÎļþ¡£²»¼ÆÈ밲ȫģʽµÄÏÞÖÆ¡£ - </para> - <para> - <example> - <title><function>is_writable</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.is-readable"> + <refnamediv> + <refname>is_readable</refname> + <refpurpose>Åжϸø¶¨ÎļþÃûÊÇ·ñ¿É¶Á</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>bool</type><methodname>is_readable</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + Èç¹ûÎļþ´æÔÚ²¢ÇҿɶÁÔò·µ»Ø &true;¡£ + </para> + <para> + ¼Çס PHP Ò²ÐíÖ»ÄÜÒÔÔËÐÐ webserver µÄÓû§Ãû£¨Í¨³£Îª + 'nobody'£©À´·ÃÎÊÎļþ¡£²»¼ÆÈ밲ȫģʽµÄÏÞÖÆ¡£ + </para> + <para> + <example> + <title><function>is_writable</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php $filename = 'test.txt'; @@ -34,17 +34,17 @@ } ?> ]]> - </programlisting> - </example> - </para> - ¬e.clearstatcache; - &tip.fopen-wrapper.stat; - <para> - ²Î¼û <function>is_writable</function>£¬<function>file_exists</function> - ºÍ <function>fgets</function>¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + ¬e.clearstatcache; + &tip.fopen-wrapper.stat; + <para> + ²Î¼û <function>is_writable</function>£¬<function>file_exists</function> + ºÍ <function>fgets</function>¡£ + </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/link.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/link.xml diff -u phpdoc-zh/reference/filesystem/functions/link.xml:1.5 phpdoc-zh/reference/filesystem/functions/link.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/link.xml:1.5 Sun Aug 14 10:32:06 2005 +++ phpdoc-zh/reference/filesystem/functions/link.xml Tue Sep 13 12:57:42 2005 @@ -1,31 +1,31 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> - <refentry id="function.link"> - <refnamediv> - <refname>link</refname> - <refpurpose>½¨Á¢Ò»¸öÓ²Á¬½Ó</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>bool</type><methodname>link</methodname> - <methodparam><type>string</type><parameter>target</parameter></methodparam> - <methodparam><type>string</type><parameter>link</parameter></methodparam> - </methodsynopsis> - <para> - <function>link</function> ½¨Á¢Ò»¸öÓ²Á¬½Ó¡£&return.success; - </para> - ¬e.no-remote; - ¬e.no-windows; - <para> - ²Î¼û <function>symlink</function> À´½¨Á¢ÈíÁ¬½Ó£¬ÒÔ¼° - <function>readlink</function> ºÍ - <function>linkinfo</function>¡£ - </para> - </refsect1> - </refentry> +<refentry id="function.link"> + <refnamediv> + <refname>link</refname> + <refpurpose>½¨Á¢Ò»¸öÓ²Á¬½Ó</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>bool</type><methodname>link</methodname> + <methodparam><type>string</type><parameter>target</parameter></methodparam> + <methodparam><type>string</type><parameter>link</parameter></methodparam> + </methodsynopsis> + <para> + <function>link</function> ½¨Á¢Ò»¸öÓ²Á¬½Ó¡£&return.success; + </para> + ¬e.no-remote; + ¬e.no-windows; + <para> + ²Î¼û <function>symlink</function> À´½¨Á¢ÈíÁ¬½Ó£¬ÒÔ¼° + <function>readlink</function> ºÍ + <function>linkinfo</function>¡£ + </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/linkinfo.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/linkinfo.xml diff -u phpdoc-zh/reference/filesystem/functions/linkinfo.xml:1.5 phpdoc-zh/reference/filesystem/functions/linkinfo.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/linkinfo.xml:1.5 Sun Aug 14 10:30:12 2005 +++ phpdoc-zh/reference/filesystem/functions/linkinfo.xml Tue Sep 13 12:57:42 2005 @@ -1,29 +1,29 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> - <refentry id="function.linkinfo"> - <refnamediv> - <refname>linkinfo</refname> - <refpurpose>»ñȡһ¸öÁ¬½ÓµÄÐÅÏ¢</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>int</type><methodname>linkinfo</methodname> - <methodparam><type>string</type><parameter>path</parameter></methodparam> - </methodsynopsis> - <para> - <function>linkinfo</function> ·µ»Ø <literal>lstat</literal> - ϵͳµ÷ÓÃËù·µ»ØµÄ UNIX C stat ½á¹¹ÖÐµÄ <literal>st_dev</literal> - ×ֶΡ£±¾º¯ÊýÓÃÀ´ÑéÖ¤Ò»¸öÁ¬½Ó£¨ÓÉ <parameter>path</parameter> - ËùÖ¸ÏòµÄ£©ÊÇ·ñȷʵ´æÔÚ£¨Ê¹Óà <filename>stat.h</filename> ÖÐµÄ S_ISLNK - ºêͬÑùµÄ·½·¨£©¡£Èç¹û³ö´íÔò·µ»Ø 0 »ò &false;¡£ - </para> - <para> - <example> - <title><function>linkinfo</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.linkinfo"> + <refnamediv> + <refname>linkinfo</refname> + <refpurpose>»ñȡһ¸öÁ¬½ÓµÄÐÅÏ¢</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>linkinfo</methodname> + <methodparam><type>string</type><parameter>path</parameter></methodparam> + </methodsynopsis> + <para> + <function>linkinfo</function> ·µ»Ø <literal>lstat</literal> + ϵͳµ÷ÓÃËù·µ»ØµÄ UNIX C stat ½á¹¹ÖÐµÄ <literal>st_dev</literal> + ×ֶΡ£±¾º¯ÊýÓÃÀ´ÑéÖ¤Ò»¸öÁ¬½Ó£¨ÓÉ <parameter>path</parameter> + ËùÖ¸ÏòµÄ£©ÊÇ·ñȷʵ´æÔÚ£¨Ê¹Óà <filename>stat.h</filename> ÖÐµÄ S_ISLNK + ºêͬÑùµÄ·½·¨£©¡£Èç¹û³ö´íÔò·µ»Ø 0 »ò &false;¡£ + </para> + <para> + <example> + <title><function>linkinfo</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php @@ -31,17 +31,17 @@ ?> ]]> - </programlisting> - </example> - </para> - ¬e.no-windows; - <para> - ²Î¼û - <function>symlink</function>£¬<function>link</function> - ºÍ <function>readlink</function>¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + ¬e.no-windows; + <para> + ²Î¼û + <function>symlink</function>£¬<function>link</function> + ºÍ <function>readlink</function>¡£ + </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/lstat.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/lstat.xml diff -u phpdoc-zh/reference/filesystem/functions/lstat.xml:1.5 phpdoc-zh/reference/filesystem/functions/lstat.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/lstat.xml:1.5 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/lstat.xml Tue Sep 13 12:57:42 2005 @@ -1,37 +1,37 @@ <?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.lstat"> - <refnamediv> - <refname>lstat</refname> - <refpurpose>¸ø³öÒ»¸öÎļþ»ò·ûºÅÁ¬½ÓµÄÐÅÏ¢</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>array</type><methodname>lstat</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - »ñÈ¡ÓÉ <parameter>filename</parameter> Ö¸¶¨µÄÎļþ»ò·ûºÅÁ¬½ÓµÄͳ¼ÆÐÅÏ¢¡£±¾º¯ÊýºÍ - <function>stat</function> º¯ÊýÏàͬ£¬Ö»³ýÁËÈç¹û - <parameter>filename</parameter> ²ÎÊýÊÇ·ûºÅÁ¬½ÓµÄ»°£¬Ôò¸Ã·ûºÅÁ¬½ÓµÄ״̬±»·µ»Ø£¬¶ø²»ÊǸ÷ûºÅÁ¬½ÓËùÖ¸ÏòµÄÎļþµÄ״̬¡£ - </para> - <para> - ÓÐ¹Ø <function>lstat</function> - ·µ»ØµÄÊý×é½á¹¹¼ûÊÖ²áÖÐ <function>stat</function> º¯ÊýµÄÒ³Ãæ¡£ - </para> +<refentry id="function.lstat"> + <refnamediv> + <refname>lstat</refname> + <refpurpose>¸ø³öÒ»¸öÎļþ»ò·ûºÅÁ¬½ÓµÄÐÅÏ¢</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>array</type><methodname>lstat</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + »ñÈ¡ÓÉ <parameter>filename</parameter> Ö¸¶¨µÄÎļþ»ò·ûºÅÁ¬½ÓµÄͳ¼ÆÐÅÏ¢¡£±¾º¯ÊýºÍ + <function>stat</function> º¯ÊýÏàͬ£¬Ö»³ýÁËÈç¹û + <parameter>filename</parameter> ²ÎÊýÊÇ·ûºÅÁ¬½ÓµÄ»°£¬Ôò¸Ã·ûºÅÁ¬½ÓµÄ״̬±»·µ»Ø£¬¶ø²»ÊǸ÷ûºÅÁ¬½ÓËùÖ¸ÏòµÄÎļþµÄ״̬¡£ + </para> + <para> + ÓÐ¹Ø <function>lstat</function> + ·µ»ØµÄÊý×é½á¹¹¼ûÊÖ²áÖÐ <function>stat</function> º¯ÊýµÄÒ³Ãæ¡£ + </para> - ¬e.clearstatcache; - - &tip.fopen-wrapper.stat; - - <simpara> - ²Î¼û <function>stat</function>¡£ - </simpara> - </refsect1> - </refentry> + ¬e.clearstatcache; + + &tip.fopen-wrapper.stat; + + <simpara> + ²Î¼û <function>stat</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/pclose.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-zh/reference/filesystem/functions/pclose.xml diff -u phpdoc-zh/reference/filesystem/functions/pclose.xml:1.3 phpdoc-zh/reference/filesystem/functions/pclose.xml:1.4 --- phpdoc-zh/reference/filesystem/functions/pclose.xml:1.3 Wed Apr 23 21:37:31 2003 +++ phpdoc-zh/reference/filesystem/functions/pclose.xml Tue Sep 13 12:57:42 2005 @@ -1,34 +1,34 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> - <refentry id="function.pclose"> - <refnamediv> - <refname>pclose</refname> - <refpurpose>¹Ø±Õ½ø³ÌÎļþÖ¸Õë</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>int</type><methodname>pclose</methodname> - <methodparam><type>resource</type><parameter>handle</parameter></methodparam> - </methodsynopsis> - <para> - ¹Ø±ÕÓà - <function>popen</function> ´ò¿ªµÄÖ¸Ïò¹ÜµÀµÄÎļþÖ¸Õë¡£ - </para> - <para> - ÎļþÖ¸Õë±ØÐëÓÐЧ£¬ÇÒ±ØÐëÊdzɹ¦µ÷Óà - <function>popen</function> Ëù·µ»ØµÄ¡£ - </para> - <para> - ·µ»ØÔËÐеĽø³ÌµÄÖÕֹ״̬¡£ - </para> - <para> - ²Î¼û <function>popen</function>¡£ - </para> - </refsect1> - </refentry> +<refentry id="function.pclose"> + <refnamediv> + <refname>pclose</refname> + <refpurpose>¹Ø±Õ½ø³ÌÎļþÖ¸Õë</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>pclose</methodname> + <methodparam><type>resource</type><parameter>handle</parameter></methodparam> + </methodsynopsis> + <para> + ¹Ø±ÕÓà + <function>popen</function> ´ò¿ªµÄÖ¸Ïò¹ÜµÀµÄÎļþÖ¸Õë¡£ + </para> + <para> + ÎļþÖ¸Õë±ØÐëÓÐЧ£¬ÇÒ±ØÐëÊdzɹ¦µ÷Óà + <function>popen</function> Ëù·µ»ØµÄ¡£ + </para> + <para> + ·µ»ØÔËÐеĽø³ÌµÄÖÕֹ״̬¡£ + </para> + <para> + ²Î¼û <function>popen</function>¡£ + </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/readfile.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/readfile.xml diff -u phpdoc-zh/reference/filesystem/functions/readfile.xml:1.5 phpdoc-zh/reference/filesystem/functions/readfile.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/readfile.xml:1.5 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/readfile.xml Tue Sep 13 12:57:42 2005 @@ -1,41 +1,41 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> - <refentry id="function.readfile"> - <refnamediv> - <refname>readfile</refname> - <refpurpose>Êä³öÒ»¸öÎļþ</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>int</type><methodname>readfile</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter></methodparam> - <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam> - </methodsynopsis> - <para> - ¶ÁÈëÒ»¸öÎļþ²¢Ð´Èëµ½Êä³ö»º³å¡£ - </para> - <para> - ·µ»Ø´ÓÎļþÖжÁÈëµÄ×Ö½ÚÊý¡£Èç¹û³ö´í·µ»Ø - &false; ²¢ÇÒ³ý·ÇÊÇÒÔ - @<function>readfile</function> ÐÎʽµ÷Ó㬷ñÔò»áÏÔʾ´íÎóÐÅÏ¢¡£ - </para> - &tip.fopen-wrapper; - <para> - Èç¹ûÒ²ÏëÔÚ - <link linkend="ini.include-path">include_path</link> - ÖÐËÑË÷Îļþ£¬¿ÉÒÔʹÓÿÉÑ¡µÄµÚ¶þ¸ö²ÎÊý²¢½«ÆäÉèΪ &true;¡£ - </para> - ¬e.context-support; - <para> - ²Î¼û <function>fpassthru</function>£¬<function>file</function>£¬<function>fopen</function>£¬<function>include</function>£¬<function>require</function>£¬<function>virtual</function>£¬<function>file_get_contents</function> - ºÍ<xref linkend="wrappers"/>¡£ - </para> - </refsect1> - </refentry> +<refentry id="function.readfile"> + <refnamediv> + <refname>readfile</refname> + <refpurpose>Êä³öÒ»¸öÎļþ</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>readfile</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam> + </methodsynopsis> + <para> + ¶ÁÈëÒ»¸öÎļþ²¢Ð´Èëµ½Êä³ö»º³å¡£ + </para> + <para> + ·µ»Ø´ÓÎļþÖжÁÈëµÄ×Ö½ÚÊý¡£Èç¹û³ö´í·µ»Ø + &false; ²¢ÇÒ³ý·ÇÊÇÒÔ + @<function>readfile</function> ÐÎʽµ÷Ó㬷ñÔò»áÏÔʾ´íÎóÐÅÏ¢¡£ + </para> + &tip.fopen-wrapper; + <para> + Èç¹ûÒ²ÏëÔÚ + <link linkend="ini.include-path">include_path</link> + ÖÐËÑË÷Îļþ£¬¿ÉÒÔʹÓÿÉÑ¡µÄµÚ¶þ¸ö²ÎÊý²¢½«ÆäÉèΪ &true;¡£ + </para> + ¬e.context-support; + <para> + ²Î¼û <function>fpassthru</function>£¬<function>file</function>£¬<function>fopen</function>£¬<function>include</function>£¬<function>require</function>£¬<function>virtual</function>£¬<function>file_get_contents</function> + ºÍ<xref linkend="wrappers"/>¡£ + </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/readlink.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-zh/reference/filesystem/functions/readlink.xml diff -u phpdoc-zh/reference/filesystem/functions/readlink.xml:1.7 phpdoc-zh/reference/filesystem/functions/readlink.xml:1.8 --- phpdoc-zh/reference/filesystem/functions/readlink.xml:1.7 Thu Aug 18 23:52:56 2005 +++ phpdoc-zh/reference/filesystem/functions/readlink.xml Tue Sep 13 12:57:42 2005 @@ -1,26 +1,26 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.7 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.8 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> - <refentry id="function.readlink"> - <refnamediv> - <refname>readlink</refname> - <refpurpose>·µ»Ø·ûºÅÁ¬½ÓÖ¸ÏòµÄÄ¿±ê</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>string</type><methodname>readlink</methodname> - <methodparam><type>string</type><parameter>path</parameter></methodparam> - </methodsynopsis> - <para> - <function>readlink</function> ºÍͬÃûµÄ C - º¯Êý×öͬÑùµÄÊ£¬·µ»Ø·ûºÅÁ¬½ÓµÄÄÚÈÝ¡£Èç¹û³ö´í·µ»Ø &false;¡£ - </para> - <para> - <example> - <title><function>readlink</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.readlink"> + <refnamediv> + <refname>readlink</refname> + <refpurpose>·µ»Ø·ûºÅÁ¬½ÓÖ¸ÏòµÄÄ¿±ê</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>string</type><methodname>readlink</methodname> + <methodparam><type>string</type><parameter>path</parameter></methodparam> + </methodsynopsis> + <para> + <function>readlink</function> ºÍͬÃûµÄ C + º¯Êý×öͬÑùµÄÊ£¬·µ»Ø·ûºÅÁ¬½ÓµÄÄÚÈÝ¡£Èç¹û³ö´í·µ»Ø &false;¡£ + </para> + <para> + <example> + <title><function>readlink</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php @@ -29,16 +29,16 @@ ?> ]]> - </programlisting> - </example> - </para> - ¬e.no-windows; - <para> - ²Î¼û <function>is_link</function>£¬<function>symlink</function> ºÍ - <function>linkinfo</function>¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + ¬e.no-windows; + <para> + ²Î¼û <function>is_link</function>£¬<function>symlink</function> ºÍ + <function>linkinfo</function>¡£ + </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/realpath.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/filesystem/functions/realpath.xml diff -u phpdoc-zh/reference/filesystem/functions/realpath.xml:1.6 phpdoc-zh/reference/filesystem/functions/realpath.xml:1.7 --- phpdoc-zh/reference/filesystem/functions/realpath.xml:1.6 Sun Aug 14 08:36:24 2005 +++ phpdoc-zh/reference/filesystem/functions/realpath.xml Tue Sep 13 12:57:42 2005 @@ -1,47 +1,47 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.7 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.8 Maintainer: dallas Status: ready --> - <refentry id="function.realpath"> - <refnamediv> - <refname>realpath</refname> - <refpurpose>·µ»Ø¹æ·¶»¯µÄ¾ø¶Ô·¾¶Ãû</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>string</type><methodname>realpath</methodname> - <methodparam><type>string</type><parameter>path</parameter></methodparam> - </methodsynopsis> - <para> - <function>realpath</function> À©Õ¹ËùÓеķûºÅÁ¬½Ó²¢ÇÒ´¦ÀíÊäÈëµÄ - <parameter>path</parameter> ÖÐµÄ '/./', '/../' ÒÔ¼°¶àÓàµÄ '/' - ²¢·µ»Ø¹æ·¶»¯ºóµÄ¾ø¶Ô·¾¶Ãû¡£·µ»ØµÄ·¾¶ÖÐûÓзûºÅÁ¬½Ó£¬'/./' - »ò '/../' ³É·Ö¡£ - </para> - <para> - <function>realpath</function> ʧ°Üʱ·µ»Ø &false;£¬±ÈÈç˵Îļþ²»´æÔڵϰ¡£ÔÚ BSD - ϵͳÉÏ£¬Èç¹û½ö½öÊÇ <parameter>path</parameter> ²»´æÔڵϰ£¬PHP - ²¢²»»áÏñÆäËüϵͳÄÇÑù·µ»Ø &false;¡£ - </para> - <para> - <example> - <title><function>realpath</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.realpath"> + <refnamediv> + <refname>realpath</refname> + <refpurpose>·µ»Ø¹æ·¶»¯µÄ¾ø¶Ô·¾¶Ãû</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>string</type><methodname>realpath</methodname> + <methodparam><type>string</type><parameter>path</parameter></methodparam> + </methodsynopsis> + <para> + <function>realpath</function> À©Õ¹ËùÓеķûºÅÁ¬½Ó²¢ÇÒ´¦ÀíÊäÈëµÄ + <parameter>path</parameter> ÖÐµÄ '/./', '/../' ÒÔ¼°¶àÓàµÄ '/' + ²¢·µ»Ø¹æ·¶»¯ºóµÄ¾ø¶Ô·¾¶Ãû¡£·µ»ØµÄ·¾¶ÖÐûÓзûºÅÁ¬½Ó£¬'/./' + »ò '/../' ³É·Ö¡£ + </para> + <para> + <function>realpath</function> ʧ°Üʱ·µ»Ø &false;£¬±ÈÈç˵Îļþ²»´æÔڵϰ¡£ÔÚ BSD + ϵͳÉÏ£¬Èç¹û½ö½öÊÇ <parameter>path</parameter> ²»´æÔڵϰ£¬PHP + ²¢²»»áÏñÆäËüϵͳÄÇÑù·µ»Ø &false;¡£ + </para> + <para> + <example> + <title><function>realpath</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php $real_path = realpath("../../index.php"); ?> ]]> - </programlisting> - </example> - </para> - <para> - ²Î¼û <function>basename</function>£¬<function>dirname</function> ºÍ - <function>pathinfo</function>¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + ²Î¼û <function>basename</function>£¬<function>dirname</function> ºÍ + <function>pathinfo</function>¡£ + </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/rewind.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/rewind.xml diff -u phpdoc-zh/reference/filesystem/functions/rewind.xml:1.5 phpdoc-zh/reference/filesystem/functions/rewind.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/rewind.xml:1.5 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/rewind.xml Tue Sep 13 12:57:42 2005 @@ -1,39 +1,39 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.8 Maintainer: dallas Status: ready --> - <refentry id="function.rewind"> - <refnamediv> - <refname>rewind</refname> - <refpurpose>µ¹»ØÎļþÖ¸ÕëµÄλÖÃ</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>bool</type><methodname>rewind</methodname> - <methodparam><type>resource</type><parameter>handle</parameter></methodparam> - </methodsynopsis> - <para> - ½« <parameter>handle</parameter> µÄÎļþλÖÃÖ¸ÕëÉèΪÎļþÁ÷µÄ¿ªÍ·¡£ - </para> - <para> - &return.success; - </para> - <para> - ÎļþÖ¸Õë±ØÐëºÏ·¨£¬²¢ÇÒÖ¸ÏòÓÉ <function>fopen</function> - ³É¹¦´ò¿ªµÄÎļþ¡£ - </para> - <note> - <para> - Èç¹û½«ÎļþÒÔ¸½¼Ó£¨"a" »òÕß "a+"£©Ä£Ê½´ò¿ª£¬Ð´ÈëÎļþµÄÈκÎÊý¾Ý×ÜÊǻᱻ¸½¼ÓÔÚºóÃæ£¬²»¹ÜÎļþÖ¸ÕëµÄλÖᣠ- </para> - </note> - <para> - ²Î¼û <function>fseek</function> ºÍ - <function>ftell</function>¡£ - </para> - </refsect1> - </refentry> +<refentry id="function.rewind"> + <refnamediv> + <refname>rewind</refname> + <refpurpose>µ¹»ØÎļþÖ¸ÕëµÄλÖÃ</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>bool</type><methodname>rewind</methodname> + <methodparam><type>resource</type><parameter>handle</parameter></methodparam> + </methodsynopsis> + <para> + ½« <parameter>handle</parameter> µÄÎļþλÖÃÖ¸ÕëÉèΪÎļþÁ÷µÄ¿ªÍ·¡£ + </para> + <para> + &return.success; + </para> + <para> + ÎļþÖ¸Õë±ØÐëºÏ·¨£¬²¢ÇÒÖ¸ÏòÓÉ <function>fopen</function> + ³É¹¦´ò¿ªµÄÎļþ¡£ + </para> + <note> + <para> + Èç¹û½«ÎļþÒÔ¸½¼Ó£¨"a" »òÕß "a+"£©Ä£Ê½´ò¿ª£¬Ð´ÈëÎļþµÄÈκÎÊý¾Ý×ÜÊǻᱻ¸½¼ÓÔÚºóÃæ£¬²»¹ÜÎļþÖ¸ÕëµÄλÖᣠ+ </para> + </note> + <para> + ²Î¼û <function>fseek</function> ºÍ + <function>ftell</function>¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: