Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/audio/libs/snd_ctl_close.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/audio/libs/snd_ctl_close.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/audio/libs/snd_ctl_close.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/audio/libs/snd_ctl_close.html on line 8

snd_ctl_close()

Close a control handle

Synopsis:

#include <sys/asoundlib.h>

int snd_ctl_close( snd_ctl_t *handle );

Arguments:

handle
The handle for the control connection to the card. This must be a handle created by snd_ctl_open().

Library:

libasound.so

Description:

The snd_ctl_close() function frees all the resources allocated with the control handle and closes the connection to the control interface.

Returns:

Zero on success, or a negative value on error.

Errors:

-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.

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

snd_ctl_open()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/audio/libs/snd_ctl_close.html on line 135

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/audio/libs/snd_ctl_close.html on line 135