diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 19:55:15 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 19:55:15 -0400 |
| commit | 253e67c8b3a72b3a4757fdbc5845297628db0a4a (patch) | |
| tree | adf53b66087aa30dfbf8bf391a1dadb044c3bf4d /static/netbsd/man3/sqlite3_release_memory.3 | |
| parent | a9157ce950dfe2fc30795d43b9d79b9d1bffc48b (diff) | |
docs: Added All NetBSD Manuals
Diffstat (limited to 'static/netbsd/man3/sqlite3_release_memory.3')
| -rw-r--r-- | static/netbsd/man3/sqlite3_release_memory.3 | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/static/netbsd/man3/sqlite3_release_memory.3 b/static/netbsd/man3/sqlite3_release_memory.3 new file mode 100644 index 00000000..76301bf6 --- /dev/null +++ b/static/netbsd/man3/sqlite3_release_memory.3 @@ -0,0 +1,31 @@ +.Dd January 24, 2024 +.Dt SQLITE3_RELEASE_MEMORY 3 +.Os +.Sh NAME +.Nm sqlite3_release_memory +.Nd attempt to free heap memory +.Sh SYNOPSIS +.In sqlite3.h +.Ft int +.Fo sqlite3_release_memory +.Fa "int" +.Fc +.Sh DESCRIPTION +The sqlite3_release_memory() interface attempts to free N bytes of +heap memory by deallocating non-essential memory allocations held by +the database library. +Memory used to cache database pages to improve performance is an example +of non-essential memory. +sqlite3_release_memory() returns the number of bytes actually freed, +which might be more or less than the amount requested. +The sqlite3_release_memory() routine is a no-op returning zero if SQLite +is not compiled with SQLITE_ENABLE_MEMORY_MANAGEMENT. +.Pp +.Sh IMPLEMENTATION NOTES +These declarations were extracted from the +interface documentation at line 6939. +.Bd -literal +SQLITE_API int sqlite3_release_memory(int); +.Ed +.Sh SEE ALSO +.Xr sqlite3_db_release_memory 3 |
