1
.\" This manpage has been automatically generated by docbook2man
2
.\" from a DocBook document. This tool can be found at:
3
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
4
.\" Please send any bug reports, improvements, comments, patches,
5
.\" etc. to Steve Cheng <steve@ggi-project.org>.
6
.TH "COMEDI_DO_INSNLIST" "3" "02 October 2004" "" ""
9
comedi_do_insnlist \- perform multiple instructions
12
\fB#include <comedilib.h>
14
int comedi_do_insnlist (comedi_t * \fIdevice\fB, comedi_insnlist * \fIlist\fB);
18
The function comedi_do_insnlist() performs multiple Comedi
19
instructions as part of one system call. In addition, Comedi
20
attempts to perform the instructions atomically, that is, on
21
standard Linux kernels, no process preemption should occur
22
during the instructions. However, the process may be preempted
23
before or after the group of instructions.
25
This function can be used to avoid the overhead of multiple
26
system calls, or to ensure that multiple instructions occur
27
without significant delay between them.
28
Preemption may occur if any of the instructions or the data
29
arrays of any of the instructions exist in non-resident or
33
The function comedi_do_insnlist() returns the number of
34
sucessfully completed instructions. Error information for
35
the unsucessful instruction is not available. If there is
36
an error before the first instruction can be executed, -1