Close a control handle
#include <sys/asoundlib.h>
int snd_ctl_close( snd_ctl_t *handle );
- handle
- The handle for the control connection to the card.
  This must be a handle created by 
  snd_ctl_open().
libasound.so
The snd_ctl_close() function 
frees all the resources allocated with the control handle and 
closes the connection to the control interface.
Zero on success, or a negative value on error.
- -EBADF
  
- Invalid file descriptor. Your handle may be corrupt.
  
- -EINTR
  
- The close() call was interrupted by a signal.
  
- -EINVAL
  
- Invalid handle argument.
  
- -EIO
  
- An I/O error occurred while updating the directory information.
  
- -ENOSPC
  
- A previous buffered write call has failed.
QNX Neutrino
| Safety: |  | 
|---|
| Cancellation point | No | 
| Interrupt handler | No | 
| Signal handler | Yes | 
| Thread | Yes | 
snd_ctl_open()