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

error.h File Reference

Application interface library for the ALSA driver. More...

Go to the source code of this file.

Defines

#define SND_ERROR_BEGIN   500000 /**< Lower boundary of sound error codes. */
#define SND_ERROR_INCOMPATIBLE_VERSION   (SND_ERROR_BEGIN+0) /**< Kernel/library protocols are not compatible. */
#define SNDERR(args...)   snd_lib_error(__FILE__, __LINE__, __FUNCTION__, 0, ##args) /**< Shows a sound error message. */
#define SYSERR(args...)   snd_lib_error(__FILE__, __LINE__, __FUNCTION__, errno, ##args) /**< Shows a system error message (related to \c errno). */

Typedefs

typedef void(* snd_lib_error_handler_t )(const char *file, int line, const char *function, int err, const char *fmt,...)
 Error handler callback. More...


Functions

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

int snd_lib_error_set_handler (snd_lib_error_handler_t handler)
 Sets the error handler. More...


Variables

snd_lib_error_handler_t snd_lib_error


Detailed Description

Application interface library for the ALSA driver.

>

Author:
Jaroslav Kysela <perex@suse.cz> , Abramo Bagnara <abramo@alsa-project.org> , Takashi Iwai <tiwai@suse.de>
Date:
1998-2001
Application interface library for the ALSA driver


Generated on Thu Oct 24 15:14:54 2002 for ALSA project - the C library reference by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002