1mysql_field_seek(3)           MariaDB Connector/C          mysql_field_seek(3)
2
3
4
5   Name
6       mysql_field_seek - sets the field cursor to given offset
7
8   Synopsis
9              #include <mysql.h>
10
11              MYSQL_FIELD_OFFSET mysql_field_seek(MYSQL_RES * result,
12                                                  MYSQL_FIELD_OFFSET offset);
13
14   Description
15       Sets  the  field  cursor  to  the  given  offset.   The  next  call  to
16       mysql_fetch_field(3) will retrieve the field definition of  the  column
17       associated with that offset.
18
19   Parameters
20       • result - a result set identifier returned by mysql_store_result(3) or
21         mysql_use_result(3).
22
23       • offset - the field number.  This number must be  in  the  range  from
24         0..number of fields - 1.
25
26   Notes
27       • The number of fields can be obtained from mysql_field_count(3) .
28
29       • To  move  the field cursor to the first field offset parameter should
30         be zero.
31
32   Return value
33       Returns the previous value of the field cursor
34
35   See also
36mysql_field_tell(3)
37
38
39
40Version 3.2.2                                              mysql_field_seek(3)
Impressum