snd_register_device(9) suse man page | unix.com

Man Page: snd_register_device

Operating Environment: suse

Section: 9

SND_REGISTER_DEVICE(9)						   Sound Devices					    SND_REGISTER_DEVICE(9)

NAME
snd_register_device - Register the ALSA device file for the card
SYNOPSIS
int snd_register_device(int type, struct snd_card * card, int dev, const struct file_operations * f_ops, void * private_data, const char * name);
ARGUMENTS
type the device type, SNDRV_DEVICE_TYPE_XXX card the card instance dev the device index f_ops the file operations private_data user pointer for f_ops->open name the device file name
DESCRIPTION
Registers an ALSA device file for the given card. The operators have to be set in reg parameter. This function uses the card's device pointer to link to the correct struct device. Returns zero if successful, or a negative error code on failure.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 SND_REGISTER_DEVICE(9)
Related Man Pages
device(9) - debian
device_create_vargs(9) - suse
device(9) - linux
device(9) - php
device(9) - opensolaris
Similar Topics in the Unix Linux Community
Grant unprivileged user rights to see the output of echo|format but not modify disks
Migrating to UNIX
Docker learning Phase-I
The Future of the PM (Private Message) System at UNIX.com
Shopt -s histappend