svn: /phpdoc/ru/trunk/reference/filesystem/functions/ fgetc.xml

From: Date: Tue, 01 Mar 2011 06:21:35 +0000
Subject: svn: /phpdoc/ru/trunk/reference/filesystem/functions/ fgetc.xml
Groups: php.doc.ru 
Request: Send a blank email to doc-ru+get-1469@lists.php.net to get a copy of this message
shein Tue, 01 Mar 2011 06:21:35 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=308799 Log: Updated translation. Changed paths: U phpdoc/ru/trunk/reference/filesystem/functions/fgetc.xml Modified: phpdoc/ru/trunk/reference/filesystem/functions/fgetc.xml =================================================================== --- phpdoc/ru/trunk/reference/filesystem/functions/fgetc.xml 2011-03-01 06:18:17 UTC (rev 308798) +++ phpdoc/ru/trunk/reference/filesystem/functions/fgetc.xml 2011-03-01 06:21:35 UTC (rev 308799) @@ -1,36 +1,53 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: n/a Maintainer: tronic Status: ready --> +<!-- EN-Revision: 297028 Maintainer: shein Status: ready --> +<!-- Reviewed: no --> <!-- $Revision$ --> -<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> - <refentry xml:id="function.fgetc" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>fgetc</refname> - <refpurpose>Считывает символ из файла</refpurpose> - </refnamediv> - <refsect1> - <title>Описание</title> - <methodsynopsis> - <type>string</type><methodname>fgetc</methodname> - <methodparam><type>resource</type><parameter>handle</parameter></methodparam> - </methodsynopsis> - <para> - Функция возвращает строку, содержащую один символ, прочитанный - из файла, на который указывает <parameter>handle</parameter>. - Возвращает &false; по достижению конца файла (EOF). - </para> - <para> - Дескриптор должен указывать на файл, открытый ранее - с помощью функции <function>fopen</function>, - <function>popen</function> или <function>fsockopen</function>. - </para> - - &fs.validfp.all; - &return.falseproblem; - - <para> - <example> - <title>Пример использования функции <function>fgetc</function></title> - <programlisting role="php"> +<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.fgetc"> + <refnamediv> + <refname>fgetc</refname> + <refpurpose>Считывает символ из файла</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>fgetc</methodname> + <methodparam><type>resource</type><parameter>handle</parameter></methodparam> + </methodsynopsis> + <para> + Считывает символ из переданного указателя на файл. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>handle</parameter></term> + <listitem> + &fs.validfp.all; + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Возвращает строку с одним символом, прочтенным из файла, на который + указывает <parameter>handle</parameter>. Возвращает &false; при достижении EOF. + </para> + &return.falseproblem; + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Пример использования функции <function>fgetc</function></title> + <programlisting role="php"> <![CDATA[ <?php $fp = fopen('somefile.txt', 'r'); @@ -42,21 +59,31 @@ } ?> ]]> - </programlisting> - </example> - </para> - - &note.bin-safe; + </programlisting> + </example> + </para> + </refsect1> - <para> - См.также описания функций - <function>fread</function>, <function>fopen</function>, - <function>popen</function>, <function>fsockopen</function> и - <function>fgets</function>. - </para> - </refsect1> - </refentry> + <refsect1 role="notes"> + &reftitle.notes; + &note.bin-safe; + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>fread</function></member> + <member><function>fopen</function></member> + <member><function>popen</function></member> + <member><function>fsockopen</function></member> + <member><function>fgets</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> + <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -68,7 +95,7 @@ sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil -sgml-default-dtd-file:"../~/.phpdoc/manual.ced" +sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil

« previous php.doc.ru (#1469) next »