Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

error.c File Reference

Error code handling routines. More...


Functions

const char * snd_strerror (int errnum)
 Returns the message for an error code.

int snd_lib_error_set_handler (snd_lib_error_handler_t handler)
 Sets the error handler.


Variables

snd_lib_error_handler_t snd_lib_error = snd_lib_error_default


Detailed Description

Error code handling routines.

Author:
Jaroslav Kysela <perex@suse.cz>
Date:
1998-2001
Error code handling routines.


Function Documentation

int snd_lib_error_set_handler snd_lib_error_handler_t    handler
 

Sets the error handler.

Parameters:
handler  The pointer to the new error handler function.
This function sets a new error handler, or (if handler is NULL) the default one which prints the error messages to stderr.

const char* snd_strerror int    errnum
 

Returns the message for an error code.

Parameters:
errnum  The error code number, which must be a system error code or an ALSA error code.
Returns:
The ASCII description of the given numeric error code.


Variable Documentation

snd_lib_error_handler_t snd_lib_error = snd_lib_error_default
 

Pointer to the error handler function. For internal use only.


Generated on Thu Jun 12 17:17:10 2003 for ALSA project - the C library reference by doxygen1.2.18