Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
BSON_MEMORY(3)			    libbson			BSON_MEMORY(3)

BSON Memory Abstraction.

DESCRIPTION
       Libbson	contains  a lightweight	memory abstraction to make portability
       to new platforms	easier.	Additionally, it helps us integrate  with  in-
       teresting  higher-level languages. One caveat, however, is that Libbson
       is not designed to deal with Out	of Memory (OOM)	situations.  Doing  so
       requires	 extreme  diligence  throughout	the application	stack that has
       rarely been implemented correctly. This may change in the future. As it
       stands now, Libbson will	abort()	under OOM situations.

       To aid in language binding integration, Libbson allows  for  setting  a
       custom memory allocator via bson_mem_set_vtable().  This	allocation may
       be reversed via bson_mem_restore_vtable().

AUTHOR
       MongoDB,	Inc

COPYRIGHT
       2009-present, MongoDB, Inc.

1.30.2				 Apr 12, 2025			BSON_MEMORY(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=bson_memory&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help