Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

.Dd December 19, 2018
.Dt SQLITE_SERIALIZE_NOCOPY 3
.Os
.Sh NAME
.Nm SQLITE_SERIALIZE_NOCOPY
.Nd Flags for sqlite3_serialize
.Sh SYNOPSIS
.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 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 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 sqlite3_deserialize().
.Sh SEE ALSO
.Xr sqlite3_deserialize 3 ,
.Xr sqlite3_serialize 3