poll() implementation

Richard Braun rbraun at proformatique.com
Fri Jul 28 18:46:44 UTC 2006


On Fri, Jul 28, 2006 at 08:39:44PM +0200, Jan-Benedict Glaw wrote:
> > Does such a declaration prevent poll() from setting errno ?
> 
> Yes, it does.

Thanks. I'm running Asterisk with uClibc, and the chan_zap module
expects errno to be EINTR after calling poll(). So, of course, it
never happens. The code doesn't expect errno to be 0 when poll()
returns -1, so it just won't work. Is it planned to add a poll()
function to uClibc that would just set errno upon syscall return ?

-- 
Richard Braun
Proformatique - 67 rue Voltaire - 92800 Puteaux
Tel. : 01 41 38 99 60 - Fax. : 01 41 38 99 70
Email : rbraun at proformatique.com - http://proformatique.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20060728/fa4a4210/attachment-0002.pgp 


More information about the uClibc mailing list