*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> audio/alGetErrorString (3d)              


alGetErrorString(3dm)					 alGetErrorString(3dm)

NAME    [Toc]    [Back]

     alGetErrorString -	get a string corresponding to an Audio Library error

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/audio.h>

     char *alGetErrorString(int	error)

PARAMETER    [Toc]    [Back]

     error	 expects an error code as set by any Audio Library function.

DESCRIPTION    [Toc]    [Back]

     The Audio Library defines a set of	error codes whose numeric tokens begin
     with the prefix "AL_BAD_".	 Typically these are retrieved by calling
     oserror() after an	AL function returns a failure code; see	the manual
     page for each individual function to see what its error behavior is.

     alGetErrorString(3dm) returns a character string indicating the meaning
     of	the given error	value, error.

EXAMPLE    [Toc]    [Back]

	  #include <dmedia/audio.h>
	  ALport p;

	  p = alOpenPort("exampleOutput", "w", 0);
	  if (!p) {
	       printf("openport	failed:	%s\n",	alGetErrorString(oserror()));

SEE ALSO    [Toc]    [Back]

     oserror(3C), alIntro(3dm)

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
gluErrorString Tru64 produce an error string from a GL or GLU error code
gluerrorstring IRIX produce an error string from a GL or GLU error code
strerror Linux return string describing error code
ipsec_strerror NetBSD error code for IPsec policy manipulation library
gai_strerror Tru64 Print an error message string based on a return code from the getaddrinfo or getnameinfo routine
AFseterrorhandler IRIX supply an alternate error reporting routine to the Audio File Library
ERR_peek_error_line_data Tru64 Obtain error code and data
ERR_peek_error OpenBSD obtain error code and data
ERR_peek_error_line Tru64 Obtain error code and data
ERR_get_error NetBSD obtain error code and data
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service