From 06eaf7232e9a920468c0f8d74dcf2fe8b555501c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 14:24:36 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- libmariadb/man/mysql_field_seek.3 | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 libmariadb/man/mysql_field_seek.3 (limited to 'libmariadb/man/mysql_field_seek.3') diff --git a/libmariadb/man/mysql_field_seek.3 b/libmariadb/man/mysql_field_seek.3 new file mode 100644 index 00000000..364909aa --- /dev/null +++ b/libmariadb/man/mysql_field_seek.3 @@ -0,0 +1,43 @@ +.\" Automatically generated by Pandoc 2.5 +.\" +.TH "mysql_field_seek" "3" "" "Version 3.3.1" "MariaDB Connector/C" +.hy +.SS Name +.PP +mysql_field_seek \- sets the field cursor to given offset +.SS Synopsis +.IP +.nf +\f[C] +#include + +MYSQL_FIELD_OFFSET mysql_field_seek(MYSQL_RES * result, + MYSQL_FIELD_OFFSET offset); +\f[R] +.fi +.SS Description +.PP +Sets the field cursor to the given offset. +The next call to \f[B]mysql_fetch_field(3)\f[R] will retrieve the field +definition of the column associated with that offset. +.SS Parameters +.IP \[bu] 2 +\f[C]result\f[R] \- a result set identifier returned by +\f[B]mysql_store_result(3)\f[R] or \f[B]mysql_use_result(3)\f[R]. +.IP \[bu] 2 +\f[C]offset\f[R] \- the field number. +This number must be in the range from +\f[C]0\f[R]..\f[C]number of fields \- 1\f[R]. +.SS Notes +.IP \[bu] 2 +The number of fields can be obtained from \f[B]mysql_field_count(3)\f[R] +\&. +.IP \[bu] 2 +To move the field cursor to the first field offset parameter should be +zero. +.SS Return value +.PP +Returns the previous value of the field cursor +.SS See also +.IP \[bu] 2 +\f[B]mysql_field_tell(3)\f[R] -- cgit v1.2.3