centos man page for snd_lookup_minor_data

Query: snd_lookup_minor_data

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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

NAME
snd_lookup_minor_data - get user data of a registered device
SYNOPSIS
void * snd_lookup_minor_data(unsigned int minor, int type);
ARGUMENTS
minor the minor number type device type (SNDRV_DEVICE_TYPE_XXX)
DESCRIPTION
Checks that a minor device with the specified type is registered, and returns its user data pointer. This function increments the reference counter of the card instance if an associated instance with the given minor number and type is found. The caller must call snd_card_unref appropriately later.
RETURN
The user data pointer if the specified device is found. NULL otherwise.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SND_LOOKUP_MINOR_DAT(9)
Related Man Pages
gnu_dev_major(3) - debian
gnu_dev_minor(3) - debian
gnu_dev_makedev(3) - debian
gnu_dev_makedev(3) - centos
makedev(3) - centos
Similar Topics in the Unix Linux Community
How to increment version inside a file?
Tar Command
Unsure why access time on a directory change isn't changing
Controlling user input
[TIP] Processing YAML files with yq