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

NAME

6       comedi_open - open a Comedi device
7

SYNOPSIS

9       #include <comedilib.h>
10
11       comedi_t * comedi_open(const char * filename);
12

DESCRIPTION

14       Open a Comedi device specified by the file filename.
15

RETURN VALUE

17       If successful, comedi_open returns a pointer to a valid comedi_t
18       structure. This structure is opaque; the pointer should not be
19       dereferenced by the application.  NULL is returned on failure.
20

AUTHORS

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