Hi Esa, On Thu, 2002-02-14 at 15:39, Esa Ikonen wrote: > The parameters of ioctl calls are unclear to me. For excample in > ioctl ( xxx, VIDIOC_QUERYCAP, yyy); > What is the meaning of parameters xxx and yyy? I guess that xxx is a > pointer to struct v4l2_capability, but what is yyy? xxx is an integer that you get returned when opening the device, y is the struct v4l2_capability. int fd; struct v4l2_capability cap; fd = open("/dev/video", O_RDONLY); ioctl(fd, VIDIOC_QUERYCAP, &cap); Ronald -- - .-. - /V\ | Ronald Bultje <rbultje@xxxxxxxxxxxxxxxxxxx> - // \\ | Running: Linux 2.4.17-XFS and OpenBSD 3.0 - /( )\ | http://ronald.bitfreak.net/ - ^^-^^