summaryrefslogtreecommitdiffstats
path: root/libmariadb/man/mysql_field_seek.3
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:24:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:24:36 +0000
commit06eaf7232e9a920468c0f8d74dcf2fe8b555501c (patch)
treee2c7b5777f728320e5b5542b6213fd3591ba51e2 /libmariadb/man/mysql_field_seek.3
parentInitial commit. (diff)
downloadmariadb-06eaf7232e9a920468c0f8d74dcf2fe8b555501c.tar.xz
mariadb-06eaf7232e9a920468c0f8d74dcf2fe8b555501c.zip
Adding upstream version 1:10.11.6.upstream/1%10.11.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libmariadb/man/mysql_field_seek.3')
-rw-r--r--libmariadb/man/mysql_field_seek.343
1 files changed, 43 insertions, 0 deletions
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.h>
+
+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]