[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #9450] New sockets function: lwip_poll
From: |
Joel Cunningham |
Subject: |
[lwip-devel] [patch #9450] New sockets function: lwip_poll |
Date: |
Mon, 16 Oct 2017 16:04:53 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 |
Follow-up Comment #9, patch #9450 (project lwip):
Attached is some additional poll cleans in regards to Open Group.
I enabled libcurl's poll support with LwIP, but had some issues where POLLPRI
and POLLHUP are referenced, but LwIP didn't have a definition. I have added
the remaining open group constants and documented them as unimplemented. GNU
libc poll extensions (POLLMSG, POLLREMOVE, POLLRDHUP) remain absent.
While reading the open group specification, I found that nfds_t is:
An unsigned integral type used for the number of file descriptors.
So I have changed the type from int to unsigned int in my patch as well
http://pubs.opengroup.org/onlinepubs/007908799/xsh/poll.h.html
(file #42171)
_______________________________________________________
Additional Item Attachment:
File name: 0001-sockets-poll-Open-Group-clean-ups.patch Size:1 KB
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?9450>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/