svn commit: r268163 - in user/jceel/soc2014_evdev/head/sys: conf dev/evdev
Jakub Klama
jakub.klama at uj.edu.pl
Wed Jul 2 16:00:32 UTC 2014
On Wed, 02 Jul 2014 17:44:13 +0200, Hans Petter Selasky wrote:
> On 07/02/14 17:40, Jakub Wojciech Klama wrote:
>> +static int
>> +uinput_poll(struct cdev *dev, int events, struct thread *td)
>> +{
>> + struct uinput_cdev_state *state;
>> + int ret;
>> + int revents = 0;
>> +
>> + debugf("cdev: poll by thread %d", td->td_tid);
>> +
>> + ret = devfs_get_cdevpriv((void **)&state);
>> + if (ret != 0)
>> + return (ret);
>
> Hi,
>
> In case of error "poll" returns POLLNVAL, I think.
Hm... POLLNVAL or rather POLLERR?
Jakub
More information about the svn-src-user
mailing list