.\" 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 "SND_PCM_LIB_IOCTL" "" "06 October 2005" "" ""
.SH NAME
snd_pcm_lib_ioctl \- a generic PCM ioctl callback
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int snd_pcm_lib_ioctl (snd_pcm_substream_t * \fIsubstream\fB, unsigned int \fIcmd\fB, void * \fIarg\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIsubstream\fB\fR
the pcm substream instance
.TP
\fB\fIcmd\fB\fR
ioctl command
.TP
\fB\fIarg\fB\fR
ioctl argument
.SH "DESCRIPTION"
.PP
Processes the generic ioctl commands for PCM.
Can be passed as the ioctl callback for PCM ops.
.PP
Returns zero if successful, or a negative error code on failure.