summaryrefslogtreecommitdiff
path: root/static/netbsd/man3/SQLITE_SERIALIZE_NOCOPY.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/SQLITE_SERIALIZE_NOCOPY.3
parenta9157ce950dfe2fc30795d43b9d79b9d1bffc48b (diff)
docs: Added All NetBSD Manuals
Diffstat (limited to 'static/netbsd/man3/SQLITE_SERIALIZE_NOCOPY.3')
-rw-r--r--static/netbsd/man3/SQLITE_SERIALIZE_NOCOPY.333
1 files changed, 33 insertions, 0 deletions
diff --git a/static/netbsd/man3/SQLITE_SERIALIZE_NOCOPY.3 b/static/netbsd/man3/SQLITE_SERIALIZE_NOCOPY.3
new file mode 100644
index 00000000..65cb7fb8
--- /dev/null
+++ b/static/netbsd/man3/SQLITE_SERIALIZE_NOCOPY.3
@@ -0,0 +1,33 @@
+.Dd January 24, 2024
+.Dt SQLITE_SERIALIZE_NOCOPY 3
+.Os
+.Sh NAME
+.Nm SQLITE_SERIALIZE_NOCOPY
+.Nd flags for sqlite3_serialize
+.Sh SYNOPSIS
+.In sqlite3.h
+.Fd #define SQLITE_SERIALIZE_NOCOPY
+.Sh DESCRIPTION
+Zero or more of the following constants can be OR-ed together for the
+F argument to sqlite3_serialize(D,S,P,F).
+.Pp
+SQLITE_SERIALIZE_NOCOPY means that
+.Fn sqlite3_serialize
+will return a pointer to contiguous in-memory database that it is currently
+using, without making a copy of the database.
+If SQLite is not currently using a contiguous in-memory database, then
+this option causes
+.Fn sqlite3_serialize
+to return a NULL pointer.
+SQLite will only be using a contiguous in-memory database if it has
+been initialized by a prior call to
+.Fn sqlite3_deserialize .
+.Sh IMPLEMENTATION NOTES
+These declarations were extracted from the
+interface documentation at line 10686.
+.Bd -literal
+#define SQLITE_SERIALIZE_NOCOPY 0x001 /* Do no memory allocations */
+.Ed
+.Sh SEE ALSO
+.Xr sqlite3_deserialize 3 ,
+.Xr sqlite3_serialize 3