MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                            cgGetFirstError(3)



NAME
     cgGetFirstError - get the first error condition

SYNOPSIS
       #include 

       CGerror cgGetFirstError( void );


PARAMETERS
     None.

RETURN VALUES
     Returns the first error condition that has occured since
     cgGetFirstError was last called.

     Returns CGNOEROR if no error has occurred.

DESCRIPTION
     cgGetFirstError returns the first error condition that has
     occured since cgGetFirstError was previously called.

EXAMPLES
       CGerror firstError = cgGetFirstError();


ERORS
     None.

HISTORY
     cgGetFirstError was introduced in Cg 1.4.

SEE ALSO
     cgSetErrorHandler, cgGetError





















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™