Definition: |
include builtins\ipc.e atom pSharedMem = sm_open(string name) |
Description: |
Retrieve the address of a block of shared memory, identified by name, that has already been allocated, usually by another application.
Returns: the address of the block of memory identified by name. If a block of memory that is identified by name does not already exist, then sm_open() returns one of the predefined error values. |
Comments: |
Each application must call sm_close() to close it’s handle to the shared memory. A block of shared memory will continue to exist until all handles to it have been closed. |
See Also: | sm_create, sm_close |