align EPOLL_* flags with fcntl O_* flag definitions, which vary by arch
authorRich Felker <dalias@aerifal.cx>
Fri, 28 Dec 2012 01:44:44 +0000 (20:44 -0500)
committerRich Felker <dalias@aerifal.cx>
Fri, 28 Dec 2012 01:44:44 +0000 (20:44 -0500)
commit761ebe065ca75a2dda9407a1a31da273412525c6
treeee11a0bd5454dadbd58a4f25b62f81d5240ef3d7
parent820fccdefe3774d2902f0191966a5c2848405faa
align EPOLL_* flags with fcntl O_* flag definitions, which vary by arch

the old definitions were wrong on some archs. actually, EPOLL_NONBLOCK
probably should not even be defined; it is not accepted by the kernel
and it's not clear to me whether it has any use at all, even if it did
work. this issue should be revisited at some point, but I'm leaving it
in place for now in case some applications reference it.
include/sys/epoll.h