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

From Linuxnetworks
< OpenDBX‎ | C API
Jump to: navigation, search
 
Line 11: Line 11:
 
= Parameters: =
 
= Parameters: =
  
handle: Connection object created by odbx_init()
+
* handle: Connection object created by odbx_init()
errno: Error number returned by odbx_*() functions
+
* errno: Error number returned by odbx_*() functions
  
 
= Return values: =
 
= Return values: =
  
Error string in case of an error
+
* Error string in case of an error
NULL if no error occured
+
* NULL if no error occured
  
 
= Errors: =
 
= Errors: =
  
None
+
* None
  
  
 
----
 
----
 
Back to [[OpenDBX API|Overview]]
 
Back to [[OpenDBX API|Overview]]

Revision as of 18:36, 1 October 2005


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 caused by the backend 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:

  • Error string in case of an error
  • NULL if no error occured

Errors:

  • None



Back to Overview