svn: /phpdoc/ru/trunk/reference/ ffi/ffi/arraytype.xml ffi/ffi/cast.xml ffi/ffi/scope.xml ffi/ffi/string.xml posix/functions/posix-access.xml posix/functions/posix-ctermid.xml posix/functions/posix-getcwd.xml posix/functions/posix-getgrgid.xml posix/functions/posix-getgroups.xml posix/functions/posix-getlogin.xml posix/functions/posix-getpgid.xml posix/functions/posix-getpwnam.xml posix/functions/posix-getpwuid.xml posix/functions/posix-getrlimit.xml posix/functions/posix-getsid.xml posix/functi
[email protected] (Sergey Panteleev) Tue, 29 Dec 2020 05:13:34 +0000
| Newsgroups | php.doc.ru |
|---|---|
| Message-ID | <[email protected]> |
sergey Tue, 29 Dec 2020 05:13:34 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=352268
Log:
docs(ru): Updated to English revision
Changed paths:
U phpdoc/ru/trunk/reference/ffi/ffi/arraytype.xml
U phpdoc/ru/trunk/reference/ffi/ffi/cast.xml
U phpdoc/ru/trunk/reference/ffi/ffi/scope.xml
U phpdoc/ru/trunk/reference/ffi/ffi/string.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-access.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-ctermid.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-getcwd.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-getgrgid.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-getgroups.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-getlogin.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-getpgid.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-getpwnam.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-getpwuid.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-getrlimit.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-getsid.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-initgroups.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-isatty.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-kill.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-mkfifo.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-mknod.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-setegid.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-seteuid.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-setgid.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-setpgid.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-setrlimit.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-setuid.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-strerror.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-times.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-ttyname.xml
U phpdoc/ru/trunk/reference/posix/functions/posix-uname.xml
svn-diffs-352268.txt
(text/x-diff, 52.5 KB)
Modified: phpdoc/ru/trunk/reference/ffi/ffi/arraytype.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/arraytype.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/ffi/ffi/arraytype.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347385 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352253 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.arraytype" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -14,12 +14,12 @@
<methodsynopsis>
<modifier>public</modifier> <modifier>static</modifier> <type>FFI\CType</type><methodname>FFI::arrayType</methodname>
<methodparam><type>FFI\CType</type><parameter>type</parameter></methodparam>
- <methodparam><type>array </type><parameter>dims</parameter></methodparam>
+ <methodparam><type>array </type><parameter>dimensions</parameter></methodparam>
</methodsynopsis>
<para>
Динамически конструирует новый тип С массива с элементами типа
<parameter>type</parameter> и размерностями, заданными в
- <parameter>dims</parameter>. В следующем примере
+ <parameter>dimensions</parameter>. В следующем примере
<code>$t1</code> и <code>$t2</code> определяют массивы
одинакового типа:
<informalexample>
@@ -49,7 +49,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>dims</parameter></term>
+ <term><parameter>dimensions</parameter></term>
<listitem>
<para>
Массив, определяющий размерность типа.
Modified: phpdoc/ru/trunk/reference/ffi/ffi/cast.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/cast.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/ffi/ffi/cast.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347385 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352253 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.cast" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -12,14 +12,14 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier> <modifier>static</modifier> <type>FFI\CData</type><methodname>FFI::cast</methodname>
- <methodparam><type>mixed</type><parameter>type</parameter></methodparam>
- <methodparam><type>FFI\CData</type><parameter role="reference">ptr</parameter></methodparam>
+ <modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>FFI\CData</type><type>null</type></type><methodname>FFI::cast</methodname>
+ <methodparam><type class="union"><type>FFI\CType</type><type>string</type></type><parameter>type</parameter></methodparam>
+ <methodparam><type class="union"><type>FFI\CData</type><type>int</type><type>float</type><type>bool</type><type>null</type></type><parameter role="reference">ptr</parameter></methodparam>
</methodsynopsis>
<methodsynopsis>
- <modifier>public</modifier> <type>FFI\CData</type><methodname>FFI::cast</methodname>
- <methodparam><type>mixed</type><parameter>type</parameter></methodparam>
- <methodparam><type>FFI\CData</type><parameter role="reference">ptr</parameter></methodparam>
+ <modifier>public</modifier> <type class="union"><type>FFI\CData</type><type>null</type></type><methodname>FFI::cast</methodname>
+ <methodparam><type class="union"><type>FFI\CType</type><type>string</type></type><parameter>type</parameter></methodparam>
+ <methodparam><type class="union"><type>FFI\CData</type><type>int</type><type>float</type><type>bool</type><type>null</type></type><parameter role="reference">ptr</parameter></methodparam>
</methodsynopsis>
<para>
<methodname>FFI::cast</methodname> создает новый объект
Modified: phpdoc/ru/trunk/reference/ffi/ffi/scope.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/scope.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/ffi/ffi/scope.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 349002 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352253 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.scope" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -14,7 +14,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <modifier>static</modifier> <type>FFI</type><methodname>FFI::scope</methodname>
- <methodparam><type>string</type><parameter>scope_name</parameter></methodparam>
+ <methodparam><type>string</type><parameter>name</parameter></methodparam>
</methodsynopsis>
<para>
Инстанциирует объект FFI в соответствии с декларацией
@@ -32,7 +32,7 @@
&reftitle.parameters;
<variablelist>
<varlistentry>
- <term><parameter>scope_name</parameter></term>
+ <term><parameter>name</parameter></term>
<listitem>
<para>
Имя скоупа, заданного с помощью специальной
Modified: phpdoc/ru/trunk/reference/ffi/ffi/string.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/string.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/ffi/ffi/string.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347385 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352253 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.string" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -14,7 +14,7 @@
<methodsynopsis>
<modifier>public</modifier> <modifier>static</modifier> <type>string</type><methodname>FFI::string</methodname>
<methodparam><type>FFI\CData</type><parameter role="reference">ptr</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>size</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>size</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
Создает переменную PHP типа <type>string</type> из
@@ -56,6 +56,29 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>size</parameter> теперь допускает значение null; ранее значением по умолчанию был
+ <literal>0</literal>.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
</refentry>
<!-- Keep this comment at the end of the file
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-access.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-access.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-access.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 350871 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-access" xmlns="http://docbook.org/ns/docbook">
@@ -13,8 +13,8 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>posix_access</methodname>
- <methodparam><type>string</type><parameter>file</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer>POSIX_F_OK</initializer></methodparam>
+ <methodparam><type>string</type><parameter>filename</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Функция <function>posix_access</function> проверяет права пользователя на доступ к файлу.
@@ -26,7 +26,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>file</parameter></term>
+ <term><parameter>filename</parameter></term>
<listitem>
<para>
Путь к проверяемому файлу.
@@ -34,7 +34,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>mode</parameter></term>
+ <term><parameter>flags</parameter></term>
<listitem>
<para>
Маска, состоящая из одной или более констант: <constant>POSIX_F_OK</constant>,
@@ -106,7 +106,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-ctermid.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-ctermid.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-ctermid.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 351730 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-ctermid" xmlns="http://docbook.org/ns/docbook">
@@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>posix_ctermid</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>posix_ctermid</methodname>
<void/>
</methodsynopsis>
<para>
@@ -59,7 +59,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-getcwd.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-getcwd.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-getcwd.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 351730 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-getcwd" xmlns="http://docbook.org/ns/docbook">
@@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>posix_getcwd</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>posix_getcwd</methodname>
<void/>
</methodsynopsis>
<para>
@@ -68,7 +68,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-getgrgid.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-getgrgid.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-getgrgid.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 350871 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-getgrgid" xmlns="http://docbook.org/ns/docbook">
@@ -11,8 +11,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>array</type><methodname>posix_getgrgid</methodname>
- <methodparam><type>int</type><parameter>gid</parameter></methodparam>
+ <type class="union"><type>array</type><type>false</type></type><methodname>posix_getgrgid</methodname>
+ <methodparam><type>int</type><parameter>group_id</parameter></methodparam>
</methodsynopsis>
<para>
Возвращает информацию о группе, используя её ID.
@@ -24,7 +24,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>gid</parameter></term>
+ <term><parameter>group_id</parameter></term>
<listitem>
<para>
Идентификатор группы.
@@ -68,7 +68,7 @@
<row>
<entry>gid</entry>
<entry>
- Элемент содержит ID группы и должен соответствовать <parameter>gid</parameter> параметру, используемому
+ Элемент содержит ID группы и должен соответствовать <parameter>group_id</parameter> параметру, используемому
при вызове функции. Данный элемент является избыточным.
</entry>
</row>
@@ -82,6 +82,7 @@
</tbody>
</tgroup>
</table>
+ Функция возвращает &false; в случае возникновения ошибки.
</para>
</refsect1>
@@ -135,7 +136,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-getgroups.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-getgroups.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-getgroups.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-getgroups" xmlns="http://docbook.org/ns/docbook">
@@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>array</type><methodname>posix_getgroups</methodname>
+ <type class="union"><type>array</type><type>false</type></type><methodname>posix_getgroups</methodname>
<void/>
</methodsynopsis>
<para>
@@ -23,7 +23,7 @@
&reftitle.returnvalues;
<para>
Возвращает числовой массив, содержащий список идентификаторов групп для
- текущего процесса.
+ текущего процесса, &return.falseforfailure;.
</para>
</refsect1>
@@ -77,7 +77,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-getlogin.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-getlogin.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-getlogin.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-getlogin" xmlns="http://docbook.org/ns/docbook">
@@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>posix_getlogin</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>posix_getlogin</methodname>
<void/>
</methodsynopsis>
<para>
@@ -22,7 +22,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Возвращает логин пользователя как переменную типа <type>string</type>.
+ Возвращает логин пользователя как переменную типа <type>string</type>, &return.falseforfailure;.
</para>
</refsect1>
@@ -53,7 +53,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-getpgid.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-getpgid.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-getpgid.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 351135 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-getpgid" xmlns="http://docbook.org/ns/docbook">
@@ -12,11 +12,11 @@
&reftitle.description;
<methodsynopsis>
<type class="union"><type>int</type><type>false</type></type><methodname>posix_getpgid</methodname>
- <methodparam><type>int</type><parameter>pid</parameter></methodparam>
+ <methodparam><type>int</type><parameter>process_id</parameter></methodparam>
</methodsynopsis>
<para>
Возвращает идентификатор группы текущего процесса.
- <parameter>pid</parameter>&return.falseforfailure;.
+ <parameter>process_id</parameter>&return.falseforfailure;.
</para>
</refsect1>
@@ -25,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>pid</parameter></term>
+ <term><parameter>process_id</parameter></term>
<listitem>
<para>
Идентификатор текущего процесса.
@@ -83,7 +83,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-getpwnam.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-getpwnam.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-getpwnam.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 324015 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-getpwnam" xmlns="http://docbook.org/ns/docbook">
@@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>array</type><methodname>posix_getpwnam</methodname>
+ <type class="union"><type>array</type><type>false</type></type><methodname>posix_getpwnam</methodname>
<methodparam><type>string</type><parameter>username</parameter></methodparam>
</methodsynopsis>
<para>
@@ -158,7 +158,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-getpwuid.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-getpwuid.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-getpwuid.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 324015 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-getpwuid" xmlns="http://docbook.org/ns/docbook">
@@ -11,8 +11,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>array</type><methodname>posix_getpwuid</methodname>
- <methodparam><type>int</type><parameter>uid</parameter></methodparam>
+ <type class="union"><type>array</type><type>false</type></type><methodname>posix_getpwuid</methodname>
+ <methodparam><type>int</type><parameter>user_id</parameter></methodparam>
</methodsynopsis>
<para>
Возвращает <type>array</type> с информацией о пользователе,
@@ -25,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>uid</parameter></term>
+ <term><parameter>user_id</parameter></term>
<listitem>
<para>
Идентификатор пользователя.
@@ -70,7 +70,7 @@
<entry>uid</entry>
<entry>
Числовой идентификатор пользователя, должен совпадать с параметром
- <parameter>uid</parameter>, переданном при вызове функции. Является
+ <parameter>user_id</parameter>, переданном при вызове функции. Является
избыточным.
</entry>
</row>
@@ -110,6 +110,7 @@
</tbody>
</tgroup>
</table>
+ Функция возвращает &false; в случае возникновения ошибки.
</para>
</refsect1>
@@ -158,7 +159,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-getrlimit.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-getrlimit.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-getrlimit.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 337883 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-getrlimit" xmlns="http://docbook.org/ns/docbook">
@@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>array</type><methodname>posix_getrlimit</methodname>
+ <type class="union"><type>array</type><type>false</type></type><methodname>posix_getrlimit</methodname>
<void/>
</methodsynopsis>
<para>
@@ -111,6 +111,7 @@
</tbody>
</tgroup>
</table>
+ Функция возвращает &false; в случае возникновения ошибки.
</para>
</refsect1>
@@ -172,7 +173,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-getsid.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-getsid.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-getsid.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 351133 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-getsid" xmlns="http://docbook.org/ns/docbook">
@@ -11,11 +11,11 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>int</type><methodname>posix_getsid</methodname>
- <methodparam><type>int</type><parameter>pid</parameter></methodparam>
+ <type class="union"><type>int</type><type>false</type></type><methodname>posix_getsid</methodname>
+ <methodparam><type>int</type><parameter>process_id</parameter></methodparam>
</methodsynopsis>
<para>
- Возвращает идентификатор сессии процесса <parameter>pid</parameter>.
+ Возвращает идентификатор сессии процесса <parameter>process_id</parameter>.
Сессионным идентификатором процесса является идентификатор процесса
лидера сеанса.
</para>
@@ -26,11 +26,11 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>pid</parameter></term>
+ <term><parameter>process_id</parameter></term>
<listitem>
<para>
Идентификатор процесса. Если установлено в 0, подразумевается
- текущий процесс. Если передан некорректный <parameter>pid</parameter>, то
+ текущий процесс. Если передан некорректный <parameter>process_id</parameter>, то
будет возвращено &false;. Также будет установлен номер ошибки, который можно
обработать с помощью функции <function>posix_get_last_error</function>.
</para>
@@ -43,7 +43,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Возвращает идентификатор как <type>int</type>.
+ Возвращает идентификатор как <type>int</type>, &return.falseforfailure;.
</para>
</refsect1>
@@ -81,7 +81,6 @@
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-initgroups.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-initgroups.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-initgroups.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-initgroups" xmlns="http://docbook.org/ns/docbook">
@@ -12,8 +12,8 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>posix_initgroups</methodname>
- <methodparam><type>string</type><parameter>name</parameter></methodparam>
- <methodparam><type>int</type><parameter>base_group_id</parameter></methodparam>
+ <methodparam><type>string</type><parameter>username</parameter></methodparam>
+ <methodparam><type>int</type><parameter>group_id</parameter></methodparam>
</methodsynopsis>
<para>
Определяет уровень доступа группы для пользователя, указанного в параметрах.
@@ -25,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>name</parameter></term>
+ <term><parameter>username</parameter></term>
<listitem>
<para>
Имя пользователя, для которого определяется уровень доступа.
@@ -33,7 +33,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>base_group_id</parameter></term>
+ <term><parameter>group_id</parameter></term>
<listitem>
<para>
Идентификатор базовой группы из файла password.
@@ -61,7 +61,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-isatty.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-isatty.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-isatty.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 344558 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-isatty" xmlns="http://docbook.org/ns/docbook">
@@ -12,10 +12,10 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>posix_isatty</methodname>
- <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
+ <methodparam><type class="union"><type>resource</type><type>int</type></type><parameter>file_descriptor</parameter></methodparam>
</methodsynopsis>
<para>
- Определяет является ли файловый дескриптор <parameter>fd</parameter> ссылкой на валидный
+ Определяет является ли файловый дескриптор <parameter>file_descriptor</parameter> ссылкой на валидный
терминал.
</para>
</refsect1>
@@ -32,7 +32,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Возвращает &true; если <parameter>fd</parameter> является открытым файловым дескриптором, связанным
+ Возвращает &true; если <parameter>file_descriptor</parameter> является открытым файловым дескриптором, связанным
с терминалом и &false; в остальных случаях.
</para>
</refsect1>
@@ -47,7 +47,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-kill.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-kill.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-kill.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-kill" xmlns="http://docbook.org/ns/docbook">
@@ -12,12 +12,12 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>posix_kill</methodname>
- <methodparam><type>int</type><parameter>pid</parameter></methodparam>
- <methodparam><type>int</type><parameter>sig</parameter></methodparam>
+ <methodparam><type>int</type><parameter>process_id</parameter></methodparam>
+ <methodparam><type>int</type><parameter>signal</parameter></methodparam>
</methodsynopsis>
<para>
- Отправляет сигнал <parameter>sig</parameter> процессу с
- идентификатором <parameter>pid</parameter>.
+ Отправляет сигнал <parameter>signal</parameter> процессу с
+ идентификатором <parameter>process_id</parameter>.
</para>
</refsect1>
@@ -26,7 +26,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>pid</parameter></term>
+ <term><parameter>process_id</parameter></term>
<listitem>
<para>
Идентификатор процесса.
@@ -34,7 +34,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>sig</parameter></term>
+ <term><parameter>signal</parameter></term>
<listitem>
<para>
Одна из <link linkend="pcntl.constants">PCNTL констант сигналов</link>.
@@ -66,7 +66,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-mkfifo.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-mkfifo.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-mkfifo.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 350887 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-mkfifo" xmlns="http://docbook.org/ns/docbook">
@@ -12,8 +12,8 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>posix_mkfifo</methodname>
- <methodparam><type>string</type><parameter>pathname</parameter></methodparam>
- <methodparam><type>int</type><parameter>mode</parameter></methodparam>
+ <methodparam><type>string</type><parameter>filename</parameter></methodparam>
+ <methodparam><type>int</type><parameter>permissions</parameter></methodparam>
</methodsynopsis>
<para>
<function>posix_mkfifo</function> создает специальный
@@ -27,7 +27,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>pathname</parameter></term>
+ <term><parameter>filename</parameter></term>
<listitem>
<para>
Путь к <literal>FIFO</literal> файлу.
@@ -35,10 +35,10 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>mode</parameter></term>
+ <term><parameter>permissions</parameter></term>
<listitem>
<para>
- Второй параметр <parameter>mode</parameter> должен быть представлен в
+ Второй параметр <parameter>permissions</parameter> должен быть представлен в
восьмеричной нотации (например 0644). Это уровень прав для вновь созданного
<literal>FIFO</literal> файла, также зависит от настроек текущего
<function>umask</function>. Права на созданный файл будут определяться как
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-mknod.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-mknod.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-mknod.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-mknod" xmlns="http://docbook.org/ns/docbook">
@@ -13,8 +13,8 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>posix_mknod</methodname>
- <methodparam><type>string</type><parameter>pathname</parameter></methodparam>
- <methodparam><type>int</type><parameter>mode</parameter></methodparam>
+ <methodparam><type>string</type><parameter>filename</parameter></methodparam>
+ <methodparam><type>int</type><parameter>flags</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>major</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>minor</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
@@ -28,7 +28,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>pathname</parameter></term>
+ <term><parameter>filename</parameter></term>
<listitem>
<para>
Путь и имя создаваемого файла
@@ -36,7 +36,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>mode</parameter></term>
+ <term><parameter>flags</parameter></term>
<listitem>
<para>
Данный параметр получается с помощью побитового ИЛИ между типом файла (одной из
@@ -111,7 +111,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-setegid.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-setegid.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-setegid.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-setegid" xmlns="http://docbook.org/ns/docbook">
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>posix_setegid</methodname>
- <methodparam><type>int</type><parameter>gid</parameter></methodparam>
+ <methodparam><type>int</type><parameter>group_id</parameter></methodparam>
</methodsynopsis>
<para>
Устанавливает эффективный идентификатор группы для текущего процесса.
@@ -26,7 +26,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>gid</parameter></term>
+ <term><parameter>group_id</parameter></term>
<listitem>
<para>
Устанавливаемый эффективный идентификатор группы для текущего процесса
@@ -80,7 +80,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-seteuid.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-seteuid.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-seteuid.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 341391 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-seteuid" xmlns="http://docbook.org/ns/docbook">
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>posix_seteuid</methodname>
- <methodparam><type>int</type><parameter>uid</parameter></methodparam>
+ <methodparam><type>int</type><parameter>user_id</parameter></methodparam>
</methodsynopsis>
<para>
Устанавливает эффективный идентификатор пользователя. Это привилегированная функция
@@ -26,7 +26,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>uid</parameter></term>
+ <term><parameter>user_id</parameter></term>
<listitem>
<para>
Устанавливаемый идентификатор пользователя.
@@ -56,7 +56,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-setgid.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-setgid.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-setgid.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-setgid" xmlns="http://docbook.org/ns/docbook">
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>posix_setgid</methodname>
- <methodparam><type>int</type><parameter>gid</parameter></methodparam>
+ <methodparam><type>int</type><parameter>group_id</parameter></methodparam>
</methodsynopsis>
<para>
Устанавливает фактический идентификатор группы текущего процесса.
@@ -34,7 +34,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>gid</parameter></term>
+ <term><parameter>group_id</parameter></term>
<listitem>
<para>
Идентификатор группы.
@@ -85,7 +85,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-setpgid.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-setpgid.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-setpgid.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 349709 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-setpgid" xmlns="http://docbook.org/ns/docbook">
@@ -12,12 +12,12 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>posix_setpgid</methodname>
- <methodparam><type>int</type><parameter>pid</parameter></methodparam>
- <methodparam><type>int</type><parameter>pgid</parameter></methodparam>
+ <methodparam><type>int</type><parameter>process_id</parameter></methodparam>
+ <methodparam><type>int</type><parameter>process_group_id</parameter></methodparam>
</methodsynopsis>
<para>
- Добавляет к процессу <parameter>pid</parameter> идентификатор группы
- <parameter>pgid</parameter>.
+ Добавляет к процессу <parameter>process_id</parameter> идентификатор группы
+ <parameter>process_group_id</parameter>.
</para>
</refsect1>
@@ -26,7 +26,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>pid</parameter></term>
+ <term><parameter>process_id</parameter></term>
<listitem>
<para>
Идентификатор процесса.
@@ -34,7 +34,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>pgid</parameter></term>
+ <term><parameter>process_group_id</parameter></term>
<listitem>
<para>
Идентификатор группы процесса.
@@ -65,7 +65,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-setrlimit.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-setrlimit.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-setrlimit.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 337884 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-setrlimit" xmlns="http://docbook.org/ns/docbook">
@@ -13,8 +13,8 @@
<methodsynopsis>
<type>bool</type><methodname>posix_setrlimit</methodname>
<methodparam><type>int</type><parameter>resource</parameter></methodparam>
- <methodparam><type>int</type><parameter>softlimit</parameter></methodparam>
- <methodparam><type>int</type><parameter>hardlimit</parameter></methodparam>
+ <methodparam><type>int</type><parameter>soft_limit</parameter></methodparam>
+ <methodparam><type>int</type><parameter>hard_limit</parameter></methodparam>
</methodsynopsis>
<para>
<function>posix_setrlimit</function> устанавливает жесткие и мягкие пределы заданных
@@ -37,7 +37,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>softlimit</parameter></term>
+ <term><parameter>soft_limit</parameter></term>
<listitem>
<para>
Мягкий предел, любой требуемый предел, или
@@ -46,7 +46,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>hardlimit</parameter></term>
+ <term><parameter>hard_limit</parameter></term>
<listitem>
<para>
Жесткий предел, любой требуемый предел, или
@@ -76,7 +76,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-setuid.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-setuid.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-setuid.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-setuid" xmlns="http://docbook.org/ns/docbook">
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>posix_setuid</methodname>
- <methodparam><type>int</type><parameter>uid</parameter></methodparam>
+ <methodparam><type>int</type><parameter>user_id</parameter></methodparam>
</methodsynopsis>
<para>
Устанавливает фактический идентификатор пользователя текущего процесса. Это
@@ -26,7 +26,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>uid</parameter></term>
+ <term><parameter>user_id</parameter></term>
<listitem>
<para>
Идентификатор пользователя.
@@ -78,7 +78,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-strerror.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-strerror.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-strerror.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-strerror" xmlns="http://docbook.org/ns/docbook">
@@ -12,12 +12,12 @@
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>posix_strerror</methodname>
- <methodparam><type>int</type><parameter>errno</parameter></methodparam>
+ <methodparam><type>int</type><parameter>error_code</parameter></methodparam>
</methodsynopsis>
<para>
Возвращает POSIX системное сообщение об ошибке, связанное с полученным в
- параметре <parameter>errno</parameter> номером. Вы можете получить параметр
- <parameter>errno</parameter> с помощью вызова функции
+ параметре <parameter>error_code</parameter> номером. Вы можете получить параметр
+ <parameter>error_code</parameter> с помощью вызова функции
<function>posix_get_last_error</function>.
</para>
</refsect1>
@@ -27,7 +27,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>errno</parameter></term>
+ <term><parameter>error_code</parameter></term>
<listitem>
<para>
POSIX номер ошибки, полученный из функции <function>posix_get_last_error</function>.
@@ -81,7 +81,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-times.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-times.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-times.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-times" xmlns="http://docbook.org/ns/docbook">
@@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>array</type><methodname>posix_times</methodname>
+ <type class="union"><type>array</type><type>false</type></type><methodname>posix_times</methodname>
<void/>
</methodsynopsis>
<para>
@@ -51,6 +51,7 @@
</simpara>
</listitem>
</itemizedlist>
+ Функция возвращает &false; в случае возникновения ошибки.
</para>
</refsect1>
@@ -96,7 +97,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-ttyname.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-ttyname.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-ttyname.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 351730 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-ttyname" xmlns="http://docbook.org/ns/docbook">
@@ -11,13 +11,13 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>posix_ttyname</methodname>
- <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
+ <type class="union"><type>string</type><type>false</type></type><methodname>posix_ttyname</methodname>
+ <methodparam><type class="union"><type>resource</type><type>int</type></type><parameter>file_descriptor</parameter></methodparam>
</methodsynopsis>
<para>
Возвращает <type>string</type>, содержащую абсолютный путь до текущего
терминального устройства, которое открыто и связано с файловым дескриптором
- <parameter>fd</parameter>.
+ <parameter>file_descriptor</parameter>.
</para>
</refsect1>
@@ -34,12 +34,11 @@
&reftitle.returnvalues;
<para>
В случае успеха возвращает <type>string</type>, содержащую абсолютный путь до терминала,
- связанного с файловым дескриптором <parameter>fd</parameter>. В случае неудачи возвращает &false;
+ связанного с файловым дескриптором <parameter>file_descriptor</parameter>. В случае неудачи возвращает &false;
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/posix/functions/posix-uname.xml
===================================================================
--- phpdoc/ru/trunk/reference/posix/functions/posix-uname.xml 2020-12-29 04:22:36 UTC (rev 352267)
+++ phpdoc/ru/trunk/reference/posix/functions/posix-uname.xml 2020-12-29 05:13:34 UTC (rev 352268)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352252 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.posix-uname" xmlns="http://docbook.org/ns/docbook">
@@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>array</type><methodname>posix_uname</methodname>
+ <type class="union"><type>array</type><type>false</type></type><methodname>posix_uname</methodname>
<void/>
</methodsynopsis>
<para>
@@ -55,6 +55,9 @@
доступно только для GNU систем или при использовании библиотеки GNU
libc.
</para>
+ <para>
+ Функция возвращает &false; в случае возникновения ошибки.
+ </para>
</refsect1>
<refsect1 role="examples">
@@ -88,7 +91,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml