Path to this page:
./
devel/libmemmgr,
Simple memory manager library
Branch: pkgsrc-2010Q3,
Version: 1.04,
Package name: libmemmgr-1.04,
Maintainer: pkgsrc-usersMemMgr is a fairly trivial memory management library. There
is little it does that cannot be done using routines in the
C library. (In fact, allocation and disposal is implemented
using C library routines.) The purposes of MemMgr are two-
fold.
(i) Minimize configuration burden on applications that
dynamically allocate memory. For instance, malloc() on
some systems returns a char pointer; on others it
returns a void pointer. The MemMgr library routines
encapsulate system-specific configuration differences
and exports a fixed interface which is system-indepen-
dent. Once you compile and install it, you just use it
without thinking about whether your UNIX is System V or
BSD inspired.
(ii) Provide two parallel sets of allocation routines which
either return NULL (for applications which want to
check) or panic (for applications which simply want to
die) on allocation failures. Panicking is implemented
using the ETM library, which introduces a dependency on
the ETM distribution. So be it. I use ETM for all my
programs anyway
Required to build:[
devel/libetm]
Master sites:
SHA1: 51611362d6f859f35abc986e6733cbf4f7bde9d6
RMD160: 169ad44bca90cdaa6537f0e0e6cf07fca6367ea8
Filesize: 13.617 KB
Version history: (Expand)
- (2010-10-17) Package added to pkgsrc.se, version libmemmgr-1.04 (created)