Skip to contentSkip to conversation

Linux poll(2) functionality difference from Solaris (10)

DISCUSSION Matti Aarnio 1 participant 1 message Dec 1, 2006

lore
Share & tools
lore
#0 lore raw

I am coding first rounds usually on Linux, but I do try to verify everything on several other UNIXes.

During this port debugging I realized that on Solaris the poll(2) result flags return POLLEOF without POLLIN on files that have EOF condition for reading.

In same situation the Linux 2.6.15 returns POLLIN, but I don't know if there is also POLLEOF. (Same with 2.6.9 at vger.kernel.org)

To track the issue, I did enter it also into Kernel Bugzilla:

http://bugzilla.kernel.org/show_bug.cgi?id=7609

/Matti Aarnio -- Now VGER could run more than 1000 parallel outgoing SMTP sessions. (Not that it really needs to.)