Man page - ieee1284_claim(3)
Packages contains this manual
- ieee1284_claim(3)
- ieee1284_epp_write_addr(3)
- ieee1284_read_control(3)
- ieee1284_get_deviceid(3)
- ieee1284_ecp_rev_to_fwd(3)
- ieee1284_frob_control(3)
- parport_list(3)
- ieee1284_ecp_read_addr(3)
- ieee1284_ecp_read_data(3)
- ieee1284_negotiate(3)
- ieee1284_set_timeout(3)
- ieee1284_release(3)
- libieee1284(3)
- ieee1284_write_control(3)
- ieee1284_close(3)
- ieee1284_compat_write(3)
- ieee1284_terminate(3)
- ieee1284_wait_data(3)
- ieee1284_unref(3)
- ieee1284_ecp_fwd_to_rev(3)
- parport(3)
- ieee1284_epp_write_data(3)
- ieee1284_get_irq_fd(3)
- ieee1284_read_status(3)
- ieee1284_free_ports(3)
- ieee1284_ecp_write_data(3)
- ieee1284_ecp_write_addr(3)
- ieee1284_read_data(3)
- ieee1284_epp_read_data(3)
- ieee1284_epp_read_addr(3)
- ieee1284_find_ports(3)
- ieee1284_do_nack_handshake(3)
- ieee1284_data_dir(3)
- ieee1284_nibble_read(3)
- ieee1284_wait_status(3)
- ieee1284_open(3)
- ieee1284_byte_read(3)
- ieee1284_ref(3)
- ieee1284_write_data(3)
apt-get install libieee1284-3-dev
Manual
IEEE1284_CLAIM
NAMESYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
AUTHOR
COPYRIGHT
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