ieee1284_claim man page on SuSE
[printable version]
IEEE1284_CLAIM(3) Functions IEEE1284_CLAIM(3)
NAME
ieee1284_claim - claim access to the port
SYNOPSIS
#include <ieee1284.h>
int ieee1284_claim(struct parport *port);
DESCRIPTION
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.
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.
SEE ALSO
ieee1284_release(3)
AUTHOR
Tim Waugh <twaugh@redhat.com>
Author.
COPYRIGHT
Copyright © 2001-2003 Tim Waugh
09/18/2007 IEEE1284_CLAIM(3)
[top]
List of man pages available for SuSE
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|