snd_card_create(9) suse man page | unix.com

Man Page: snd_card_create

Operating Environment: suse

Section: 9

SND_CARD_CREATE(9)						   Sound Devices						SND_CARD_CREATE(9)

NAME
snd_card_create - create and initialize a soundcard structure
SYNOPSIS
int snd_card_create(int idx, const char * xid, struct module * module, int extra_size, struct snd_card ** card_ret);
ARGUMENTS
idx card index (address) [0 ... (SNDRV_CARDS-1)] xid card identification (ASCII string) module top level module for locking extra_size allocate this extra size after the main soundcard structure card_ret the pointer to store the created card instance
DESCRIPTION
Creates and initializes a soundcard structure. The function allocates snd_card instance via kzalloc with the given space for the driver to use freely. The allocated struct is stored in the given card_ret pointer. Returns zero if successful or a negative error code.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 SND_CARD_CREATE(9)
Related Man Pages
init_module(2) - redhat
amixer(1) - debian
memory_cb(4) - redhat
amixer(1) - centos
streamadm(4) - osf1
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Grant unprivileged user rights to see the output of echo|format but not modify disks
Cut command on RHEL 6.8 compatibility issues
A (ksh) Library For and From UNIX.com
Shopt -s histappend