Rechercher une page de manuel
comedi_fileno
Langue: en
Version: 28 October 2007 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
comedi_fileno - integer descriptor of Comedilib deviceSYNOPSIS
#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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre