Write to an Analogy device.
The function a4l_write() is only useful for acquisition configured through an Analogy command.
- Parameters
-
| [in] | fd | File descriptor as returned by a4l_sys_open() |
| [in] | buf | Output buffer |
| [in] | nbyte | Number of bytes to write |
- Returns
- Number of bytes written. Otherwise:
- -EINVAL is returned if some argument is missing or wrong (Please, type "dmesg" for more info)
- -ENOENT is returned if the device's writing subdevice is idle (no command was sent)
- -EFAULT is returned if a user <-> kernel transfer went wrong
- -EINTR is returned if calling task has been unblocked by a signal