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?


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@28562 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
David Croft 2000-07-18 09:09:50 +00:00
parent 9d37ce1f99
commit f144ec9c6d

View file

@ -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 @@ if (!$fp) {
<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>
@ -511,6 +511,10 @@ if (!$fp) {
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>