alGetErrorString man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



alGetErrorString(3dm)					 alGetErrorString(3dm)

NAME
     alGetErrorString - get a string corresponding to an Audio Library error
     code

SYNOPSIS
     #include <dmedia/audio.h>

     char *alGetErrorString(int error)

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

DESCRIPTION
     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
	  #include <dmedia/audio.h>
	  ALport p;

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

SEE ALSO
     oserror(3C), alIntro(3dm)

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net