Re: svn: /phpdoc/en/trunk/reference/misc/functions/ sleep.xml

From: Date: Fri, 26 Nov 2010 09:44:11 +0000
Subject: Re: svn: /phpdoc/en/trunk/reference/misc/functions/ sleep.xml
References: 1  Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7474@lists.php.net to get a copy of this message
On Fri, Nov 26, 2010 at 10:19, Adam Harvey <aharvey@php.net> wrote: > aharvey                                  Fri, 26 Nov 2010 09:19:16 +0000 > > Revision: > http://svn.php.net/viewvc?view=revision&revision=305764 > > Log: > Fix doc bug #53409 (sleep() return NULL). > > Bug: http://bugs.php.net/53409 (Assigned) sleep() return NULL > > Changed paths: >    U   phpdoc/en/trunk/reference/misc/functions/sleep.xml > > Modified: phpdoc/en/trunk/reference/misc/functions/sleep.xml > =================================================================== > --- phpdoc/en/trunk/reference/misc/functions/sleep.xml  2010-11-26 03:44:22 UTC (rev 305763) > +++ phpdoc/en/trunk/reference/misc/functions/sleep.xml  2010-11-26 09:19:16 UTC (rev 305764) > @@ -37,10 +37,13 @@ >  <refsect1 role="returnvalues"> >   &reftitle.returnvalues; >   <para> > -   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. > +   On Windows, <function>sleep</function> always returns &null;. >   </para> > +  <para> > +   On other platforms, <function>sleep</function> returns zero on success, or > +   &false; on errors. If the call was interrupted by a signal, The only time it returns false on "other platforms" is during sanitychecking of the parameter - which also applies to windows... -Hannes

« previous php.doc.cvs (#7474) next »