Blob Blame History Raw
.\"     Title: ieee1284_claim
.\"    Author: Tim Waugh <>
.\" Generator: DocBook XSL Stylesheets v1.72.0 <>
.\"      Date: 09/18/2007
.\"    Manual: Functions
.\"    Source: 
.TH "IEEE1284_CLAIM" "3" "09/18/2007" "" "Functions"
.\" disable hyphenation
.\" disable justification (adjust text to left margin only)
.ad l
ieee1284_claim \- claim access to the port
.ft B
#include <ieee1284.h>
.HP 19
.BI "int ieee1284_claim(struct\ parport\ *" "port" ");"
With the exception of
must be called on an open port before any other libieee1284 function for accessing a device on it.
.RS 4
Success. Note that, unless the
flag was specified to start with, the port should be released within a
amount of time.
.RS 4
There is not enough memory.
.RS 4
parameter is invalid (for instance, it might not have been opened yet).
.RS 4
There was a problem at the operating system level. The global variable
has been set appropriately.
\fBTim Waugh\fR <\&\&>
.sp -1n
.IP "" 4
Copyright \(co 2001\-2003 Tim Waugh