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_strerror.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_strerror.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_strerror.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_strerror.html on line 8

snd_strerror()

Convert an error code to a string

Synopsis:

#include <sys/asoundlib.h>

const char *snd_strerror( int errnum );

Arguments:

errnum
An error number, which can be positive (i.e. the value of errno) or negative (i.e. a return code from a snd_* function).

Library:

libasound.so

Description:

The snd_strerror() function converts an error code to a string. Its functionality is similar to that of strerror() (see the QNX Library Reference), except that it returns the correct strings for sound error codes.

Returns:

A pointer to the error message. Don't modify the string that it points to.

If snd_strerror() doesn't recognize the value for errnum, it returns a pointer to the string Unknown error.”

Examples:

See the wave.c example in the appendix.

Classification:

QNX Neutrino

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

See also:

errno, strerror() in the QNX Library Reference


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_strerror.html on line 120

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_strerror.html on line 120