reference/misc/functions/time-nanosleep.xml
0c9c2dd669fe9395eaa73d487fbd160f9057429a
...
...
@@ -9,7 +9,7 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>mixed</type><methodname>time_nanosleep</methodname>
12
+
<type class="union"><type>array</type><type>bool</type></type><methodname>time_nanosleep</methodname>
13
13
<methodparam><type>int</type><parameter>seconds</parameter></methodparam>
14
14
<methodparam><type>int</type><parameter>nanoseconds</parameter></methodparam>
15
15
</methodsynopsis>
...
...
@@ -37,6 +37,12 @@
37
37
<para>
38
38
Must be a non-negative integer less than 1 billion.
39
39
</para>
40
+
<note>
41
+
<simpara>
42
+
On Windows, the system may sleep longer that the given number of nanoseconds,
43
+
depending on the hardware.
44
+
</simpara>
45
+
</note>
40
46
</listitem>
41
47
</varlistentry>
42
48
</variablelist>
...
...
@@ -68,30 +74,6 @@
68
74
</para>
69
75
</refsect1>
70
76

71
-
<refsect1 role="changelog"><!-- {{{ -->
72
-
&reftitle.changelog;
73
-
<para>
74
-
<informaltable>
75
-
<tgroup cols="2">
76
-
<thead>
77
-
<row>
78
-
<entry>&Version;</entry>
79
-
<entry>&Description;</entry>
80
-
</row>
81
-
</thead>
82
-
<tbody>
83
-
<row>
84
-
<entry>5.3.0</entry>
85
-
<entry>
86
-
This function is now available on Windows platforms.
87
-
</entry>
88
-
</row>
89
-
</tbody>
90
-
</tgroup>
91
-
</informaltable>
92
-
</para>
93
-
</refsect1><!-- }}} -->
94
-

95
77
<refsect1 role="examples">
96
78
&reftitle.examples;
97
79
<para>
...
...
@@ -143,7 +125,6 @@ if ($nano === true) {
143
125
</refsect1>
144
126

145
127
</refentry>
146
-

147
128
<!-- Keep this comment at the end of the file
148
129
Local variables:
149
130
mode: sgml
150
131