Name

mysql_eof( )

Synopsis

my_bool mysql_eof(MYSQL *result)

Use this to determine whether the last row of the results set has been fetched. It returns 0 until end of file is reached and nonzero at end of file. This function has been deprecated. Use mysql_errno() and mysql_error( ), or mysql_more_results( ), instead to check for an error indicating that the last row has been reached.

Get MySQL in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.