ieee1284_claim (3) - Linux Manuals
ieee1284_claim: claim access to the port
NAME
ieee1284_claim - claim access to the port
SYNOPSIS
#include <ieee1284.h>
-
int ieee1284_claim(struct parport
* port);
DESCRIPTION
RETURN VALUE
E1284_OK
- Success. Note that, unless the F1284_EXCL flag was specified to start with, the port should be released within a "reasonable" amount of time.
E1284_NOMEM
- There is not enough memory.
E1284_INVALIDPORT
- The port parameter is invalid (for instance, it might not have been opened yet).
E1284_SYS
- There was a problem at the operating system level. The global variable errno has been set appropriately.
AUTHOR
Tim Waugh <twaugh [at] redhat.com>
- Author.
COPYRIGHT
Copyright © 2001-2003 Tim Waugh