1SND_PCM_LIB_IOCTL(9) PCM API SND_PCM_LIB_IOCTL(9)
2
3
4
6 snd_pcm_lib_ioctl - a generic PCM ioctl callback
7
9 int snd_pcm_lib_ioctl(struct snd_pcm_substream * substream,
10 unsigned int cmd, void * arg);
11
13 substream
14 the pcm substream instance
15
16 cmd
17 ioctl command
18
19 arg
20 ioctl argument
21
23 Processes the generic ioctl commands for PCM. Can be passed as the
24 ioctl callback for PCM ops.
25
26 Returns zero if successful, or a negative error code on failure.
27
29Kernel Hackers Manual 2.6. November 2011 SND_PCM_LIB_IOCTL(9)