From 253e67c8b3a72b3a4757fdbc5845297628db0a4a Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Sat, 25 Apr 2026 19:55:15 -0400 Subject: docs: Added All NetBSD Manuals --- static/netbsd/man3/sqlite3_release_memory.3 | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 static/netbsd/man3/sqlite3_release_memory.3 (limited to 'static/netbsd/man3/sqlite3_release_memory.3') 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 -- cgit v1.2.3