snd_register_device_for_dev(9) centos man page | unix.com

Man Page: snd_register_device_for_dev

Operating Environment: centos

Section: 9

SND_REGISTER_DEVICE_(9) 				  Management of Cards and Device				   SND_REGISTER_DEVICE_(9)

NAME
snd_register_device_for_dev - Register the ALSA device file for the card
SYNOPSIS
int snd_register_device_for_dev(int type, struct snd_card * card, int dev, const struct file_operations * f_ops, void * private_data, const char * name, struct device * device);
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 device the struct device to link this new device to
DESCRIPTION
Registers an ALSA device file for the given card. The operators have to be set in reg parameter.
RETURN
Zero if successful, or a negative error code on failure.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SND_REGISTER_DEVICE_(9)
Related Man Pages
struct_device_driver(9) - centos
device(9) - debian
device(9) - php
device(9) - bsd
device(9) - redhat
Similar Topics in the Unix Linux Community
DB2 convert digits to binary format
CentOS7 restoring file capabilities
Shopt -s histappend
Controlling user input
Please Welcome Dave Munro to the Moderator Team!