Difference between revisions of "OpenDBX/C API/odbx field length"

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

Revision as of 00:07, 15 February 2007


#include <odbx.h>

unsigned long odbx_field_length(
    odbx_result_t* result,
    unsigned long pos )

Description:

Returns the length of the field value specified by "pos" of the current row. 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 in the current result set

Return values:

  • Length of the value in the specified column of the current row

Errors:

  • None

See also:



Back to Overview