https://sqlite.org/selfcontained.html
SQLite
Small. Fast. Reliable.
Choose any three.
* Home
* Menu
* About
* Documentation
* Download
* License
* Support
* Purchase
* Search
* About
* Documentation
* Download
* Support
* Purchase
[Search Documentation] [ ] [Go]
SQLite is a Self Contained System
SQLite is "stand-alone" or "self-contained" in the sense that it has
very few dependencies. It runs on any operating system, even
stripped-down bare-bones embedded operating systems. SQLite uses no
external libraries or interfaces (other than a few standard C-library
calls described below). The entire SQLite library is encapsulated in
a single source code file that requires no special facilities or
tools to build.
A minimal build of SQLite requires just these routines from the
standard C library:
* memcmp()
* memcpy()
* memmove()
* memset()
* strcmp()
* strlen()
* strncmp()
Most builds also use the system memory allocation routines:
* malloc()
* realloc()
* free()
But those routines are optional and can be omitted using a
compile-time option.
Default builds of SQLite contain appropriate VFS objects for talking
to the underlying operating system, and those VFS objects will
contain operating system calls such as open(), read(), write(), fsync
(), and so forth. All of these interfaces are readily available on
most platforms, and custom VFSes can be designed to run SQLite on
even the most austere embedded devices.
This page was last updated on 2025-06-12 09:10:23Z