DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

DmiGetSysMemDsc(3dmi)


DmiGetSysMemDsc -- return the system memory descriptor

Synopsis

#include <dmi2mem.h>

DmiMemDsc_t DMI_API DmiGetSysMemDsc ( DmiErrorStatus_t * status);

Description

DmiGetSysMemDsc returns the memory descriptor representing standard system malloc/free model provided by the client front end. This memory descriptor serves as a default memory descriptor until the application changes the setting, using the DmiSetDefaultMemDsc function. Do not use malloc/free instead of DmiAlloc/DmiFree in this case.

Parameters


status
(Output) NULL, or a pointer to an address in memory where the DmiErrorStatus_t code is returned. If the status pointer is NULL, the error status is not returned. The only possible error code is DMIERR_NO_ERROR.

For a description of error codes, see ``DMI error codes'' in Desktop Management Interface programming.

Return values

This function returns the system memory model descriptor.

Notices

Portions of this page are derived from material for which the copyright owner is Intel Corporation, Inc. The material is reprinted with permission. See copyright page for a full statement of rights and permissions.


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