Date: 07/18/00
- Next message: Uwe Steinmann: "[PHP-DOC] cvs: phpdoc /de/functions pdf.xml"
- Previous message: Benny Timorason: "[PHP-DOC] What problem of my PHP or apache"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
david Tue Jul 18 02:09:49 2000 EDT
Modified files:
/phpdoc/de/functions network.xml
/phpdoc/en/functions network.xml
/phpdoc/it/functions network.xml
/phpdoc/ja/functions network.xml
Log:
Changed deprecated function name set_socket_blocking to socket_set_blocking.
I haven't changed the refentry id since I don't know if it'll break anything -
is it possible to set it up as an alias?
Index: phpdoc/de/functions/network.xml
diff -u phpdoc/de/functions/network.xml:1.6 phpdoc/de/functions/network.xml:1.7
--- phpdoc/de/functions/network.xml:1.6 Sun Jul 9 11:52:16 2000
+++ phpdoc/de/functions/network.xml Tue Jul 18 02:09:49 2000
@@ -177,7 +177,7 @@
<para>
Voreingestellt ist der Verbindungsaufbau im Block-Modus. Sie
können dies auf Nicht-Block-Modus ändern, indem sie
- <function>Set_socket_blocking</function> benutzen.
+ <function>socket_set_blocking</function> benutzen.
<example>
<title><function>Fsockopen</function> Beispiel</title>
<programlisting role="php">
@@ -513,7 +513,7 @@
<refentry id="function.set-socket-blocking">
<refnamediv>
- <refname>set_socket_blocking</refname>
+ <refname>socket_set_blocking</refname>
<refpurpose>
Schaltet den Block-Modus eines Sockets an oder aus
</refpurpose>
@@ -522,7 +522,7 @@
<title>Beschreibung</title>
<funcsynopsis>
<funcprototype>
- <funcdef>int <function>set_socket_blocking</function></funcdef>
+ <funcdef>int <function>socket_set_blocking</function></funcdef>
<paramdef>int <parameter>socket descriptor</parameter></paramdef>
<paramdef>int <parameter>mode</parameter></paramdef>
</funcprototype>
Index: phpdoc/en/functions/network.xml
diff -u phpdoc/en/functions/network.xml:1.5 phpdoc/en/functions/network.xml:1.6
--- phpdoc/en/functions/network.xml:1.5 Sat Jul 8 04:19:40 2000
+++ phpdoc/en/functions/network.xml Tue Jul 18 02:09:49 2000
@@ -169,7 +169,7 @@
<para>
The socket will by default be opened in blocking mode. You can
switch it to non-blocking mode by using
- <function><function>Set_socket_blocking</function></function>.
+ <function>socket_set_blocking</function>.
<example>
<title><function>Fsockopen</function> Example</title>
<programlisting role="php">
@@ -490,14 +490,14 @@
<refentry id="function.set-socket-blocking">
<refnamediv>
- <refname>set_socket_blocking</refname>
+ <refname>socket_set_blocking</refname>
<refpurpose>Set blocking/non-blocking mode on a socket</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
- <funcdef>int <function>set_socket_blocking</function></funcdef>
+ <funcdef>int <function>socket_set_blocking</function></funcdef>
<paramdef>int <parameter>socket descriptor</parameter></paramdef>
<paramdef>int <parameter>mode</parameter></paramdef>
</funcprototype>
@@ -510,6 +510,10 @@
non-blocking mode an <function>fgets</function> call will always
return right away while in blocking mode it will wait for data to
become available on the socket.
+ </para>
+ <para>
+ This function was previously called as
+ <function>set_socket_blocking<function> but this usage is deprecated.
</para>
</refsect1>
</refentry>
Index: phpdoc/it/functions/network.xml
diff -u phpdoc/it/functions/network.xml:1.3 phpdoc/it/functions/network.xml:1.4
--- phpdoc/it/functions/network.xml:1.3 Wed Jul 12 02:39:58 2000
+++ phpdoc/it/functions/network.xml Tue Jul 18 02:09:49 2000
@@ -169,7 +169,7 @@
<para>
The socket will by default be opened in blocking mode. You can
switch it to non-blocking mode by using
- <function><function>Set_socket_blocking</function></function>.
+ <function>socket_set_blocking</function>.
<example>
<title><function>Fsockopen</function> Example</title>
<programlisting role="php">
@@ -490,14 +490,14 @@
<refentry id="function.set-socket-blocking">
<refnamediv>
- <refname>set_socket_blocking</refname>
+ <refname>socket_set_blocking</refname>
<refpurpose>Set blocking/non-blocking mode on a socket</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
- <funcdef>int <function>set_socket_blocking</function></funcdef>
+ <funcdef>int <function>socket_set_blocking</function></funcdef>
<paramdef>int <parameter>socket descriptor</parameter></paramdef>
<paramdef>int <parameter>mode</parameter></paramdef>
</funcprototype>
@@ -510,6 +510,10 @@
non-blocking mode an <function>fgets</function> call will always
return right away while in blocking mode it will wait for data to
become available on the socket.
+ </para>
+ <para>
+ This function was previously called as
+ <function>set_socket_blocking<function> but this usage is deprecated.
</para>
</refsect1>
</refentry>
Index: phpdoc/ja/functions/network.xml
diff -u phpdoc/ja/functions/network.xml:1.4 phpdoc/ja/functions/network.xml:1.5
--- phpdoc/ja/functions/network.xml:1.4 Sat Jul 15 08:12:13 2000
+++ phpdoc/ja/functions/network.xml Tue Jul 18 02:09:49 2000
@@ -164,7 +164,7 @@
</para>
<para>
ソケットã¯ãƒ‡ãƒ•ォルトã§ãƒ–ãƒãƒƒã‚¯ãƒ¢ãƒ¼ãƒ‰ã§é–‹ã‹ã‚Œã¾ã™ã€‚
- <function>set_socket_blocking</function>を使用ã—ã¦ã€
+ <function>socket_set_blocking</function>を使用ã—ã¦ã€
éžãƒ–ãƒãƒƒã‚¯ãƒ¢ãƒ¼ãƒ‰ã«åˆ‡æ›ãˆã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚
<example>
<title><function>fsockopen</function>ã®ä¾‹</title>
@@ -483,14 +483,14 @@
<refentry id="function.set-socket-blocking">
<refnamediv>
- <refname>set_socket_blocking</refname>
+ <refname>socket_set_blocking</refname>
<refpurpose>ソケットã«ãŠã‘るブãƒãƒƒã‚¯éžãƒ–ãƒãƒƒã‚¯ãƒ¢ãƒ¼ãƒ‰ã®è¨å®š</refpurpose>
</refnamediv>
<refsect1>
<title>説明</title>
<funcsynopsis>
<funcprototype>
- <funcdef>int <function>set_socket_blocking</function></funcdef>
+ <funcdef>int <function>socket_set_blocking</function></funcdef>
<paramdef>int <parameter>socket descriptor</parameter></paramdef>
<paramdef>int <parameter>mode</parameter></paramdef>
</funcprototype>
- Next message: Uwe Steinmann: "[PHP-DOC] cvs: phpdoc /de/functions pdf.xml"
- Previous message: Benny Timorason: "[PHP-DOC] What problem of my PHP or apache"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

