Difference between revisions of "OpenDBX/C API/odbx column name"

From Linuxnetworks
< OpenDBX‎ | C API
Jump to: navigation, search
(see also)
(header)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
  
  char* odbx_column_name(
+
#include <odbx.h>
     odbx_result_t* result,
+
     unsigned long pos )
+
  char* '''odbx_column_name'''(
 +
     odbx_result_t* '''result''',
 +
     unsigned long '''pos''' )
  
 
= Description: =
 
= Description: =

Revision as of 00:01, 15 February 2007


#include <odbx.h>

char* odbx_column_name(
   odbx_result_t* result,
   unsigned long pos )

Description:

Returns the name of the column specified by "pos" in the current result set returned by odbx_result(). The value of "pos" must be in the range from 0 to odbx_column_count()-1.

Parameters:

  • result: Pointer to object created by odbx_result()
  • pos: Column number within the current result set

Return values:

  • Name of the column on success
  • NULL if handle is invalid or pos is out of range

Errors:

  • None

See also:



Back to Overview