summaryrefslogtreecommitdiff
path: root/static/netbsd/man3/sqlite3_test_control.3
diff options
context:
space:
mode:
Diffstat (limited to 'static/netbsd/man3/sqlite3_test_control.3')
-rw-r--r--static/netbsd/man3/sqlite3_test_control.335
1 files changed, 35 insertions, 0 deletions
diff --git a/static/netbsd/man3/sqlite3_test_control.3 b/static/netbsd/man3/sqlite3_test_control.3
new file mode 100644
index 00000000..3721e3cb
--- /dev/null
+++ b/static/netbsd/man3/sqlite3_test_control.3
@@ -0,0 +1,35 @@
+.Dd January 24, 2024
+.Dt SQLITE3_TEST_CONTROL 3
+.Os
+.Sh NAME
+.Nm sqlite3_test_control
+.Nd testing interface
+.Sh SYNOPSIS
+.In sqlite3.h
+.Ft int
+.Fo sqlite3_test_control
+.Fa "int op"
+.Fa "..."
+.Fc
+.Sh DESCRIPTION
+The sqlite3_test_control() interface is used to read out internal state
+of SQLite and to inject faults into SQLite for testing purposes.
+The first parameter is an operation code that determines the number,
+meaning, and operation of all subsequent parameters.
+.Pp
+This interface is not for use by applications.
+It exists solely for verifying the correct operation of the SQLite
+library.
+Depending on how the SQLite library is compiled, this interface might
+not exist.
+.Pp
+The details of the operation codes, their meanings, the parameters
+they take, and what they do are all subject to change without notice.
+Unlike most of the SQLite API, this function is not guaranteed to operate
+consistently from one release to the next.
+.Sh IMPLEMENTATION NOTES
+These declarations were extracted from the
+interface documentation at line 8264.
+.Bd -literal
+SQLITE_API int sqlite3_test_control(int op, ...);
+.Ed