libtalloc_tutorial(3) centos man page | unix.com

Man Page: libtalloc_tutorial

Operating Environment: centos

Section: 3

libtalloc_tutorial(3)						      talloc						     libtalloc_tutorial(3)

NAME
libtalloc_tutorial - The Tutorial Introduction Talloc is a hierarchical, reference counted memory pool system with destructors. It is built atop the C standard library and it defines a set of utility functions that altogether simplifies allocation and deallocation of data, especially for complex structures that contain many dynamically allocated elements such as strings and arrays. The main goals of this library are: removing the needs for creating a cleanup function for every complex structure, providing a logical organization of allocated memory blocks and reducing the likelihood of creating memory leaks in long-running applications. All of this is achieved by allocating memory in a hierarchical structure of talloc contexts such that deallocating one context recursively frees all of its descendants as well. Main features o An open source project o A hierarchical memory model o Natural projection of data structures into the memory space o Simplifies memory management of large data structures o Automatic execution of a destructor before the memory is freed o Simulates a dynamic type system o Implements a transparent memory pool Table of contents: Chapter 1: Talloc context Chapter 2: Stealing a context Chapter 3: Dynamic type system Chapter 4: Using destructors Chapter 5: Memory pools Chapter 6: Debugging Chapter 7: Best practises Version 2.0 Tue Jun 17 2014 libtalloc_tutorial(3)
Related Man Pages
talloc(3) - centos
pdfoutline(1) - debian
xkbfreecompatmap(3) - debian
libtalloc_debugging(3) - centos
catalyst::manual::tutorial::09_advancedcrud(3pm) - debian
Similar Topics in the Unix Linux Community
reallocating structures dynamically in functions
What are some benefits of the UNIX hierarchical file structure?
Podius 5.2.0 (Default branch)
Memory Structures Library 4.2.1 (Default branch)
Call for a New OWASP Thailand Chapter Leader