kernels/linux-2.4.0/drivers/media/video/videodev.c
/*
 *	Write for now does nothing. No reason it shouldnt do overlay setting
 *	for some boards I guess..
 */
Write for now does nothing. No reason it shouldnt do overlay setting
for some boards I guess
Write for now does nothing . No reason it shouldnt do overlay setting for some boards I guess
static ssize_t video_write(struct file *file, const char *buf, 
	size_t count, loff_t *ppos)
{
	struct video_device *vfl=video_device[MINOR(file->f_dentry->d_inode->i_rdev)];
	if(vfl->write)
		return vfl->write(vfl, buf, count, file->f_flags&O_NONBLOCK);
	else
		return 0;
}
static ssize_t video_write ( struct file * file , const char * buf , size_t count , loff_t * ppos ) { struct video_device * vfl = video_device [ MINOR ( file -> f_dentry -> d_inode -> i_rdev ) ] ; if ( vfl -> write ) return vfl -> write ( vfl , buf , count , file -> f_flags & O_NONBLOCK ) ; else return 0 ; }
Write for now does nothing.
Write for now does nothing .