IEEE1284_FIND_PORTS(3) | Functions | IEEE1284_FIND_PORTS(3) |
ieee1284_find_ports - find ports on the system
#include <ieee1284.h>
int ieee1284_find_ports(struct parport_list *list, int flags);
This function should be called before the other libieee1284 functions. This gives the library a chance to look around and see what's available, and gives the program a chance to choose a port to use.
The list is a pointer to a parport_list structure that will be filled in on success.
There are no flags defined; use zero for this parameter.
E1284_OK
E1284_NOMEM
E1284_NOTIMPL
Tim Waugh <twaugh@redhat.com>
Copyright © 2001-2003 Tim Waugh
09/18/2007 |