http://www.manpagez.com/man/2/poll/

See section BUGS.


-----Original Message-----
From: Bart Van Assche [mailto:bart.vanassche@gmail.com]
Sent: Mon 3/23/2009 4:11 PM
To: Gal Rosen
Cc: Vladislav Bolkhovitin; scst-devel
Subject: Re: [Scst-devel] scst_user module poll implementation

On Mon, Mar 23, 2009 at 3:03 PM, Gal Rosen <galr@storwize.com> wrote:
> On Mon, 2009-03-23 at 14:17 +0100, Bart Van Assche wrote:
>> On Mon, Mar 23, 2009 at 2:05 PM, Gal Rosen <galr@storwize.com> wrote:
>> > BTW: base on the man pages poll system call does not support devices,
>> > so how do you use it in the fileio application?
>>
>> Can you cite the appropriate section of the poll man page ?
>
> Section 2.

I was asking for the section in the poll man page about poll()
restrictions because I could not find this information in the poll man
page (http://www.opengroup.org/onlinepubs/000095399/functions/poll.html).

By the way, you probably have already noticed the presence of the
following code in the source file
scst/scst/src/dev_handlers/scst_user.c:

...
static struct file_operations dev_user_fops = {
        .poll           = dev_user_poll,
...

Bart.