Difference between revisions of "OpenDBX/C API/odbx error"

From Linuxnetworks
< OpenDBX‎ | C API
Jump to: navigation, search
(Parameters:)
(Return values:)
Line 16: Line 16:
 
= Return values: =
 
= Return values: =
  
* Error string in case of an error
+
* A localized error string
* NULL if no error occured
+
  
 
= Errors: =
 
= Errors: =

Revision as of 14:07, 5 June 2006


const char* odbx_error(
    odbx_t* handle,
    int errno ) 

Description:

Returns the error string represented by the error number or the error string generated by the backend. Error strings returned by the backends are overwritten when the next odbx_*() function is called. All error strings are static and must not be changed or freed.

Parameters:

  • handle: Connection object created by odbx_init()
  • errno: Error number returned by odbx_*() functions

Return values:

  • A localized error string

Errors:

  • None



Back to Overview