reference/stream/functions/stream-set-blocking.xml
a94b259189d1d013968af18f56048dbb52472225
...
...
@@ -11,7 +11,7 @@
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>stream_set_blocking</methodname>
13
13
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
14
-
<methodparam><type>bool</type><parameter>mode</parameter></methodparam>
14
+
<methodparam><type>bool</type><parameter>enable</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
Sets blocking or non-blocking mode on a <parameter>stream</parameter>.
...
...
@@ -35,10 +35,10 @@
35
35
</listitem>
36
36
</varlistentry>
37
37
<varlistentry>
38
-
<term><parameter>mode</parameter></term>
38
+
<term><parameter>enable</parameter></term>
39
39
<listitem>
40
40
<para>
41
-
If <parameter>mode</parameter> is &false;, the given stream
41
+
If <parameter>enable</parameter> is &false;, the given stream
42
42
will be switched to non-blocking mode, and if &true;, it
43
43
will be switched to blocking mode. This affects calls like
44
44
<function>fgets</function> and <function>fread</function>
...
...
@@ -63,10 +63,7 @@
63
63
<refsect1 role="notes">
64
64
&reftitle.notes;
65
65
<note>
66
-
<para>
67
-
This function was previously called as
68
-
<function>set_socket_blocking</function> and later
69
-
<function>socket_set_blocking</function> but this usage is deprecated.
66
+
<para>On Windows, this has no affect on local files. Non-blocking IO for local files is not supported on Windows.
70
67
</para>
71
68
</note>
72
69
</refsect1>
...
...
@@ -78,7 +75,6 @@
78
75
</simplelist>
79
76
</refsect1>
80
77
</refentry>
81
-

82
78
<!-- Keep this comment at the end of the file
83
79
Local variables:
84
80
mode: sgml
85
81