1COMEDI_FILENO(3)                                              COMEDI_FILENO(3)
2
3
4

NAME

6       comedi_fileno - integer descriptor of Comedilib device
7

SYNOPSIS

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

DESCRIPTION

14       The  function  comedi_fileno  returns  the  integer  descriptor for the
15       device dev.  This descriptor can then be used as  the  file  descriptor
16       parameter  of read(), write(), etc.  This function is intended to mimic
17       the standard C  library  function  fileno().   If  dev  is  an  invalid
18       comedi_t  pointer,  the  function  returns  -1 and sets the appropriate
19       Comedilib error value.
20
21                                28 October 2007               COMEDI_FILENO(3)
Impressum