.\" 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 "MPTCTL_SYSCALL_DOWN" "" "06 October 2005" "" ""
.SH NAME
mptctl_syscall_down \- Down the MPT adapter syscall semaphore.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int mptctl_syscall_down (MPT_ADAPTER * \fIioc\fB, int \fInonblock\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIioc\fB\fR
Pointer to MPT adapter
.TP
\fB\fInonblock\fB\fR
boolean, non-zero if O_NONBLOCK is set
.SH "DESCRIPTION"
.PP
All of the ioctl commands can potentially sleep, which is illegal
with a spinlock held, thus we perform mutual exclusion here.
.PP
Returns negative errno on error, or zero for success.