Main Page
Modules
Data Structures
Files
Row
db_alloc_cursor_row
db_alloc_row
db_bind_destroy
db_bind_field
db_bind_init
db_free_row
db_get_field_buffer
db_get_field_data
db_get_field_len
db_get_field_size
db_get_field_type
db_is_null
db_row_t
db_set_field_data
db_set_field_len
db_set_null
db_unbind_field
db_len_t
db_get_field_len
(
db_row_t
hrow
,
db_fieldno_t
nfield
)
Obtain the length of a particular field in a row, as appropriate to the field's data type.
Parameters:
hrow
Row handle.
nfield
Field number.
Returns:
Length of field, appropriate to field's data type.
DB_LEN_FAIL
on failure.
On failure, one of the following error codes is set:
DB_EINVAL
Caused by: invalid row handle or field number.
See also:
db_get_field_size
,
db_set_field_len
,
get_db_error
,
clear_db_error
,
Error Handling
Copyright © 2005-2008 ITTIA®. All rights reserved.