int fieldLength(cdbfapiPlus* handle, int fieldno);

The function fieldLength() returns a length of a field by index.
It returns 0 if index is out of range.


{
    // your code
    for ( i=0; i < fieldCount(dbf); i++)
        printf( "%d\n", fieldLength( dbf, i ) );
    // your code
}