SND_CARD_DISCONNECT(9) - phpMan
SND_CARD_DISCONNECT(9) Management of Cards and Device SND_CARD_DISCONNECT(9)
NAME
snd_card_disconnect - disconnect all APIs from the file-operations (user space)
SYNOPSIS
int snd_card_disconnect(struct snd_card * card);
ARGUMENTS
card
soundcard structure
DESCRIPTION
Disconnects all APIs from the file-operations (user space).
RETURN
Zero, otherwise a negative error code.
NOTE
The current implementation replaces all active file->f_op with special dummy file
operations (they do nothing except release).
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 SND_CARD_DISCONNECT(9)
|