[lkml]   [2012]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 21/21] posix_types: Remove fd_set macros
On 02/14/2012 11:44 AM, H. Peter Anvin wrote:
> We can do that, but we'd almost certainly have to #include
> <linux/select.h> in <linux/time.h>. The following macros are defined in
> <linux/time.h> and *exported to userspace*:
> #define FD_SET(fd,fdsetp) __FD_SET(fd,fdsetp)
> #define FD_CLR(fd,fdsetp) __FD_CLR(fd,fdsetp)
> #define FD_ISSET(fd,fdsetp) __FD_ISSET(fd,fdsetp)
> #define FD_ZERO(fdsetp) __FD_ZERO(fdsetp)

Note: yes, those macros are completely useless, obviously, since all
they do is take what is already defined in userspace and reflect it back
out. Still, removing them is a userspace-visible change and really
should be its own change with nothing else.


 \ /
  Last update: 2012-02-14 21:17    [W:0.081 / U:5.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site