cvs: phpdoc /en/reference/misc/functions sleep.xml
| From: | Arnaud Le Blanc | Date: | Fri, 14 Nov 2008 14:50:44 +0000 |
| Subject: | cvs: phpdoc /en/reference/misc/functions sleep.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2522@lists.php.net to get a copy of this message | ||
lbarnaud Fri Nov 14 14:50:44 2008 UTC
Modified files:
/phpdoc/en/reference/misc/functions sleep.xml
Log:
Fixed #46555 (sleep() return value)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/misc/functions/sleep.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/misc/functions/sleep.xml
diff -u phpdoc/en/reference/misc/functions/sleep.xml:1.11
phpdoc/en/reference/misc/functions/sleep.xml:1.12
--- phpdoc/en/reference/misc/functions/sleep.xml:1.11 Wed Jun 20 22:24:57 2007
+++ phpdoc/en/reference/misc/functions/sleep.xml Fri Nov 14 14:50:44 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<refentry xml:id="function.sleep" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>sleep</refname>
@@ -37,7 +37,9 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns zero on success, or &false; on errors.
+ Returns zero on success, or &false; on errors. If the call was interrupted
+ by a signal, <function>sleep</function> returns the number of seconds left
+ to sleep.
</para>
</refsect1>