SAPMapMemory(3sapd)


SAPMapMemory -- attach to SAP daemon's mapped memory

Synopsis

#include <sap_app.h> 

int SAPMapMemory();

Description

SAPMapMemory causes the process to map to the SAP daemon's mapped memory region in a read-only mode.


NOTE: This function always returns successfully when the SAP daemon is not running.

Return values

0
successful

-7
unable to find nwconfig file; or nwconfig parameter not present

-22
unable to generate mapped memory ID key

-23
unable to get mapped memory ID

-24
unable to attach to mapped memory

Examples

   int ret; 
   ret = SAPMapMemory(); 

References

SAPUnmapMemory(3sapd)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.