'\" t .\" Title: i2o_device_claim .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Message-based devices .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "I2O_DEVICE_CLAIM" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Message-based devices" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" i2o_device_claim \- claim a device for use by an OSM .SH "SYNOPSIS" .HP \w'int\ i2o_device_claim('u .BI "int i2o_device_claim(struct\ i2o_device\ *\ " "dev" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 I2O device to claim .RE .SH "DESCRIPTION" .PP Do the leg work to assign a device to a given OSM\&. If the claim succeeds, the owner is the primary\&. If the attempt fails a negative errno code is returned\&. On success zero is returned\&. .SH "COPYRIGHT" .br