poll system call
I couldnt find an answer to this in the man pages... so here goes
If I want to wait on a file descriptor being available for both reading and writing at the same time, can I have two entries in the pollfd array for the same file descriptor, one with a POLLIN flag and the other with a POLLOUT flag set? I tried a simple program and it worked, but I dont know if that is the correct API usage
Thanks
Lee
Signature · 9 lines
__________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs