.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "I2O_CNTXT_LIST_ADD" "9" "09 October 2005" "" ""
.SH NAME
i2o_cntxt_list_add \- Append a pointer to context list and return a id
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
u32 i2o_cntxt_list_add (struct i2o_controller * \fIc\fB, void * \fIptr\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIc\fB\fR
controller to which the context list belong
.TP
\fB\fIptr\fB\fR
pointer to add to the context list
.SH "DESCRIPTION"
.PP
Because the context field in I2O is only 32-bit large, on 64-bit the
pointer is to large to fit in the context field. The i2o_cntxt_list
functions therefore map pointers to context fields.
.PP
Returns context id > 0 on success or 0 on failure.