Definition: |
include builtins\ipc.e
sm_close(object id) |
Description: |
This routine releases a handle to a block of shared memory.
id: can be either the address returned by sm_create() or sm_open(), or the string-id used to identify the memory. |
Comments: |
Once an application calls sm_close(), that memory is no longer available to that application, but does not mean that the memory
is no longer available to other applications.
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_open |