cvs: phpdoc-zh /reference/filesystem/functions fread.xml

From: Date: Sun, 10 Nov 2002 02:22:55 +0000
Subject: cvs: phpdoc-zh /reference/filesystem/functions fread.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-857@lists.php.net to get a copy of this message
lm92 Sat Nov 9 21:22:55 2002 EDT Modified files: /phpdoc-zh/reference/filesystem/functions fread.xml Log: finish Index: phpdoc-zh/reference/filesystem/functions/fread.xml diff -u phpdoc-zh/reference/filesystem/functions/fread.xml:1.1 phpdoc-zh/reference/filesystem/functions/fread.xml:1.2 --- phpdoc-zh/reference/filesystem/functions/fread.xml:1.1 Sun Sep 29 22:56:19 2002 +++ phpdoc-zh/reference/filesystem/functions/fread.xml Sat Nov 9 21:22:55 2002 @@ -1,24 +1,24 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.25 --> <refentry id="function.fread"> <refnamediv> <refname>fread</refname> - <refpurpose>Binary-safe file read</refpurpose> + <refpurpose>ÒÔ¶þ½øÖÆ·½Ê½¶ÁÈ¡Îļþ</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ÃèÊö</title> <methodsynopsis> <type>string</type><methodname>fread</methodname> <methodparam><type>int</type><parameter>fp</parameter></methodparam> <methodparam><type>int</type><parameter>length</parameter></methodparam> </methodsynopsis> <simpara> - <function>fread</function> reads up to - <parameter>length</parameter> bytes from the file pointer - referenced by <parameter>fp</parameter>. Reading stops when - <parameter>length</parameter> bytes have been read or EOF is - reached, whichever comes first. + <function>fread</function> »á°´ + <parameter>fp</parameter> Ö¸¶¨Îļþ¿ªÊ¼¶ÁÈ¡ + <parameter>length</parameter> ¸ö×Ö½ÚÊýµÄÎļþ¡£ + ¸Ãº¯ÊýÔÚ¶ÁÈ¡Íê + <parameter>length</parameter> ¸ö×Ö½ÚÊý»òµ½´ïEOFµÄʱºò¾Í»áÍ£Ö¹¶ÁÈ¡Îļþ£¬ÒÔÉÏÁ½¸öÌõ¼þ²»·ÖÏÈºó¡£ </simpara> <para> <informalexample> @@ -35,9 +35,8 @@ </para> <note> <para> - On systems which differentiate between binary and text files - (i.e. Windows) the file must be opened with 'b' included in - <function>fopen</function> mode parameter. + ÔÚÇø·Ö¶þ½øÖÆÎļþºÍÎı¾ÎļþµÄϵͳÉÏ£¨ÈçWindows£© + ´ò¿ªÎļþʱ£¬ <function>fopen</function> º¯ÊýÒª¼ÓÉÏ 'b' Õâ¸ö²ÎÊý </para> </note> <para> @@ -53,7 +52,7 @@ </informalexample> </para> <simpara> - See also <function>fwrite</function>, <function>fopen</function>, + ²Î¼û <function>fwrite</function>, <function>fopen</function>, <function>fsockopen</function>, <function>popen</function>, <function>fgets</function>, <function>fgetss</function>, <function>fscanf</function>, <function>file</function>, and

« previous php.doc.zh (#857) next »