Quoting Esa Ikonen <[EMAIL PROTECTED]>: > Hi! Could someone help a newcomer a little bit? > > 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 = file descriptor, yyy = parameter(s).
> Where could I read more about the subject?
'man ioctl' could be helpful:
__________________________________________________________________
IOCTL(2) Linux Programmer's Manual IOCTL(2)
NAME
ioctl - control device
SYNOPSIS
#include <sys/ioctl.h>
int ioctl(int d, int request, ...)
[The "third" argument is traditionally char *argp, and
will be so named for this discussion.]
__________________________________________________________________
Dmitri
--
[...] but this is generally not a real limitation (it means that you can't
have timeouts longer than 248 days on a x86, tough luck).
(Linus, discussing how kernel timeouts should be implemented.)
msg02348/pgp00000.pgp
Description: PGP signature
