Re: [V4l2-library] Messed up syscall return value
Gregor Jasny <[email protected]> Tue, 29 Jul 2008 00:34:03 +0200
| Newsgroups | gmane.comp.video.video4linux,gmane.linux.drivers.spca50x.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jul 29, 2008 at 12:22:52AM +0200, Jiri Slaby wrote: > Actually positive ioctl retval used to be often considered as OK in the past > (and this approach is still used in few char drivers). > > But according to v4l docco, it isn't permitted here. Anyway I wouldn't > place it > in videobuf-core.c, but in vivi code; letting this decision on Mauro (CCed) > ;). What happens to negative retvals like -EINVAL? Get they somewhere truncated to -1 and errno set? Just curious, Gregor -- video4linux-list mailing list Unsubscribe mailto:[email protected]?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list