Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

NAME

       snd_pcm_lib_ioctl - a generic PCM ioctl callback

SYNOPSIS

       int snd_pcm_lib_ioctl  (snd_pcm_substream_t * substream,
                                unsigned int cmd, void * arg);

ARGUMENTS

       substream
              the pcm substream instance

       cmd    ioctl command

       arg    ioctl argument

DESCRIPTION

       Processes the generic ioctl commands for PCM.  Can  be  passed  as  the
       ioctl callback for PCM ops.

       Returns zero if successful, or a negative error code on failure.