GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
mysql_fetch_lengths(3) MariaDB Connector/C mysql_fetch_lengths(3)

mysql_fetch_lengths - returns an array of length values for the current row


#include <mysql.h>
unsigned long * mysql_fetch_lengths(MYSQL_RES * result);

    

The mysql_fetch_lengths() function returns an array containing the lengths of every column of the current row within the result set (not including terminating zero character) or NULL if an error occurred.

result - a result set identifier returned by mysql_store_result(3) or mysql_use_result(3). ### Notes mysql_fetch_lengths() is valid only for the current row of the result set. It returns NULL if you call it before calling mysql_fetch_row(3) or after retrieving all rows in the result.

An array of unsigned long values . The size of the array can be determined by the number of fields in current result set.

mysql_field_count(3)
mysql_fetch_row(3)
Version 3.2.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.