Elazar Leibovich <elaz...@gmail.com> writes: > Try to open /dev/null, and then to poll the file descriptor. Neither > in the man page nor in the standard I see anything preventing you to > poll on /dev/null, yet, it does not work on Mac OS X. You get a > POLLNVAL.
>From >http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man2/poll.2.html: BUGS The poll() system call currently does not support devices. Your code works fine on Linux, but I suppose you know that. -- Oleg Goldshmidt | p...@goldshmidt.org _______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il