Poll with zero or negative timeout

Joakim Tjernlund joakim.tjernlund at transmode.se
Tue Oct 23 11:41:46 UTC 2007


On Tue, 2007-10-23 at 13:02 +0200, Jean-Christian de Rivaz wrote:
> Joakim Tjernlund a écrit :
> > And why not pass NULL as it was before?
> 
> The man 2 ppoll say:
> 
> "If timeout is specified as NULL, then ppoll() can block indefinitely."
> 
> So you are right, it's possible to passe a null pointer to do the same 
> as negative value.
> 
> A new patch is in attachement.

Committed, thanks

 Jocke



More information about the uClibc mailing list