IEEE1284_CLAIM(3) | Functions | IEEE1284_CLAIM(3) |
ieee1284_claim - claim access to the port
#include <ieee1284.h>
int ieee1284_claim(struct parport *port);
With the exception of ieee1284_get_deviceid(3), ieee1284_claim must be called on an open port before any other libieee1284 function for accessing a device on it.
E1284_OK
E1284_NOMEM
E1284_INVALIDPORT
E1284_SYS
Tim Waugh <twaugh@redhat.com>
Copyright © 2001-2003 Tim Waugh
09/18/2007 |