1COMEDI_GET_WRITE_SUB(3)        Comedi reference        COMEDI_GET_WRITE_SUB(3)
2
3
4

NAME

6       comedi_get_write_subdevice - find streaming output subdevice
7

SYNOPSIS

9       #include <comedilib.h>
10
11       int comedi_get_write_subdevice(comedi_t * device);
12

DESCRIPTION

14       The function comedi_get_write_subdevice returns the index of the
15       subdevice whose streaming output buffer is currently accessible through
16       the device device, if there is one.
17

RETURN VALUE

19       On success, comedi_get_write_subdevicereturns the index of the current
20       “write” subdevice if there is one, or -1 if there is no “write”
21       subdevice. On failure, -1 is returned.
22

AUTHORS

24       David Schleef <ds@schleef.org>
25           Author.
26
27       Frank Mori Hess <fmhess@users.sourceforge.net>
28           Author.
29
30       Herman Bruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>
31           Author.
32
33       Bernd Porr <tech@linux-usb-daq.co.uk>
34           Author.
35
36       Ian Abbott <abbotti@mev.co.uk>
37           Author.
38
39       Éric Piel <piel@delmic.com>
40           Author.
41
43       Copyright © 1998-2003 David Schleef
44       Copyright © 2001-2003, 2005, 2008 Frank Mori Hess
45       Copyright © 2002-2003 Herman Bruyninckx
46       Copyright © 2012 Bernd Porr
47       Copyright © 2012 Ian Abbott
48       Copyright © 2012, 2015 Éric Piel
49
50       This document is part of Comedilib. In the context of this document,
51       the term "source code" as defined by the license is interpreted as the
52       XML source.
53
54       This library is free software; you can redistribute it and/or modify it
55       under the terms of the GNU Lesser General Public License as published
56       by the Free Software Foundation, version 2.1 of the License.
57
58       This library is distributed in the hope that it will be useful, but
59       WITHOUT ANY WARRANTY; without even the implied warranty of
60       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
61       General Public License for more details.
62
63       You should have received a copy of the GNU Lesser General Public
64       License along with this library; if not, write to the Free Software
65       Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
66       USA.
67
68
69
70
71Comedi                            05/11/2017           COMEDI_GET_WRITE_SUB(3)
Impressum