Poster of Linux kernelThe best gift for a Linux geek
COMEDI_FILENO

COMEDI_FILENO

Section: (3) Updated: 28 October 2007
Local index Up

 

NAME

comedi_fileno - integer descriptor of Comedilib device  

SYNOPSIS

#include <comedilib.h>

int comedi_fileno (comedi_t * device);  

DESCRIPTION

The function comedi_fileno returns the integer descriptor for the device dev. This descriptor can then be used as the file descriptor parameter of read(), write(), etc. This function is intended to mimic the standard C library function fileno(). If dev is an invalid comedi_t pointer, the function returns -1 and sets the appropriate Comedilib error value.


 

Index

NAME
SYNOPSIS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 21:43:40 GMT, April 16, 2011