summaryrefslogtreecommitdiff
path: root/static/netbsd/man3/sqlite3_db_status.3
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 19:55:15 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 19:55:15 -0400
commit253e67c8b3a72b3a4757fdbc5845297628db0a4a (patch)
treeadf53b66087aa30dfbf8bf391a1dadb044c3bf4d /static/netbsd/man3/sqlite3_db_status.3
parenta9157ce950dfe2fc30795d43b9d79b9d1bffc48b (diff)
docs: Added All NetBSD Manuals
Diffstat (limited to 'static/netbsd/man3/sqlite3_db_status.3')
-rw-r--r--static/netbsd/man3/sqlite3_db_status.344
1 files changed, 44 insertions, 0 deletions
diff --git a/static/netbsd/man3/sqlite3_db_status.3 b/static/netbsd/man3/sqlite3_db_status.3
new file mode 100644
index 00000000..88a004ee
--- /dev/null
+++ b/static/netbsd/man3/sqlite3_db_status.3
@@ -0,0 +1,44 @@
+.Dd January 24, 2024
+.Dt SQLITE3_DB_STATUS 3
+.Os
+.Sh NAME
+.Nm sqlite3_db_status
+.Nd database connection status
+.Sh SYNOPSIS
+.In sqlite3.h
+.Ft int
+.Fo sqlite3_db_status
+.Fa "sqlite3*"
+.Fa "int op"
+.Fa "int *pCur"
+.Fa "int *pHiwtr"
+.Fa "int resetFlg"
+.Fc
+.Sh DESCRIPTION
+This interface is used to retrieve runtime status information about
+a single database connection.
+The first argument is the database connection object to be interrogated.
+The second argument is an integer constant, taken from the set of SQLITE_DBSTATUS options,
+that determines the parameter to interrogate.
+The set of SQLITE_DBSTATUS options is likely
+to grow in future releases of SQLite.
+.Pp
+The current value of the requested parameter is written into *pCur
+and the highest instantaneous value is written into *pHiwtr.
+If the resetFlg is true, then the highest instantaneous value is reset
+back down to the current value.
+.Pp
+The sqlite3_db_status() routine returns SQLITE_OK on success and a
+non-zero error code on failure.
+.Pp
+.Sh IMPLEMENTATION NOTES
+These declarations were extracted from the
+interface documentation at line 8627.
+.Bd -literal
+SQLITE_API int sqlite3_db_status(sqlite3*, int op, int *pCur, int *pHiwtr, int resetFlg);
+.Ed
+.Sh SEE ALSO
+.Xr sqlite3 3 ,
+.Xr sqlite3_status 3 ,
+.Xr sqlite3_stmt_status 3 ,
+.Xr SQLITE_DBSTATUS_LOOKASIDE_USED 3