summaryrefslogtreecommitdiff
path: root/static/netbsd/man3/sqlite3_database_file_object.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_database_file_object.3
parenta9157ce950dfe2fc30795d43b9d79b9d1bffc48b (diff)
docs: Added All NetBSD Manuals
Diffstat (limited to 'static/netbsd/man3/sqlite3_database_file_object.3')
-rw-r--r--static/netbsd/man3/sqlite3_database_file_object.336
1 files changed, 36 insertions, 0 deletions
diff --git a/static/netbsd/man3/sqlite3_database_file_object.3 b/static/netbsd/man3/sqlite3_database_file_object.3
new file mode 100644
index 00000000..c71fee50
--- /dev/null
+++ b/static/netbsd/man3/sqlite3_database_file_object.3
@@ -0,0 +1,36 @@
+.Dd January 24, 2024
+.Dt SQLITE3_DATABASE_FILE_OBJECT 3
+.Os
+.Sh NAME
+.Nm sqlite3_database_file_object
+.Nd database file corresponding to a journal
+.Sh SYNOPSIS
+.In sqlite3.h
+.Ft sqlite3_file *
+.Fo sqlite3_database_file_object
+.Fa "const char*"
+.Fc
+.Sh DESCRIPTION
+If X is the name of a rollback or WAL-mode journal file that is passed
+into the xOpen method of sqlite3_vfs, then sqlite3_database_file_object(X)
+returns a pointer to the sqlite3_file object that represents
+the main database file.
+.Pp
+This routine is intended for use in custom VFS implementations only.
+It is not a general-purpose interface.
+The argument sqlite3_file_object(X) must be a filename pointer that
+has been passed into sqlite3_vfs.xOpen method where the
+flags parameter to xOpen contains one of the bits SQLITE_OPEN_MAIN_JOURNAL
+or SQLITE_OPEN_WAL.
+Any other use of this routine results in undefined and probably undesirable
+behavior.
+.Sh IMPLEMENTATION NOTES
+These declarations were extracted from the
+interface documentation at line 3857.
+.Bd -literal
+SQLITE_API sqlite3_file *sqlite3_database_file_object(const char*);
+.Ed
+.Sh SEE ALSO
+.Xr sqlite3_file 3 ,
+.Xr sqlite3_vfs 3 ,
+.Xr SQLITE_OPEN_READONLY 3