DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
DMI package procedure libraries

Default memory management model

The default memory descriptor specifies how the application and the client allocate and deallocate memory when the allocating code is different from the code that is freeing the memory. See the discussion in ``Memory management architecture''. The DmiSetDefaultMemDsc(3dmi) and DmiGetDefaultMemDsc(3dmi) functions pass the default memory management descriptor between the application and the client. Functions that require the memory management descriptor (memDsc) as a parameter use the default memory model when the descriptor is set to NULL. Initially, the default memory management model is a standard system malloc/free model set by the client. The function DmiGetSysMemDsc(3dmi) returns the memory descriptor of this system memory model.

See also:


Next topic: Argument passing
Previous topic: Memory management descriptor operations

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004