to wait on a particular event based on the file descriptor.   

http://stackoverflow.com/questions/9167752/how-does-the-poll-function-work-in-c

http://linux.die.net/man/3/poll

look at the example if u don't understand the man page:

http://linux.byexamples.com/archives/133/write-a-function/

and this comes with explanation + example:

http://www.linux-mag.com/id/357/


On Mon, Jan 14, 2013 at 4:20 AM, horseriver <horserivers@gmail.com> wrote:
hi:

  what is the function of a file's poll function ?


thanks!



--
Regards,
Peter Teoh