[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

simple function question



Hi Group,
 
I am analysing the input layer of the kernel 2.6.7 and I came across this function and I have no idea what it is for. Can anybody help me?
 
static int mousedev_fasync(int fd, struct file *file, int on)
{
 int retval;
 struct mousedev_list *list = file->private_data;
 retval = fasync_helper(fd, file, on, &list->fasync);
 return retval < 0 ? retval : 0;
}
 
Kind regards,
 
Paul Akkermans

Reply to: