DP_XMFREE(2-N) SYSTEM CALLS DP_XMFREE(2-N)
NAME
dp_xmfree -- detach a global memory region
SYNOPSIS
#include <sys/mppg.h>
int dp_xmfree(void *addr);
DESCRIPTION
dp_xmfree detaches a global memory region from the calling
process's process virtual space. When there is no process
referring to the detached global memory region, the global
memory region is removed. The removed global memory region
is also detached from the global virtual space.
addr specifies the start address of a global memory region
on the process virtual space.
dp_xmfree fails if the following is true:
[EINVAL] addr is not a start address of a global memory
region.
SEE ALSO
dp_create(2), dp_join(2), dp_exit(2), dp_xmalloc(2),
dp_xmshare(2), dp_xmatt(2), dp_cntl(2),
dp_kill(2), dp_resume(2)
Global Memory in the SUPER-UX Programmer's Guide
DIAGNOSTICS
Upon successful completion, a value of 0 is returned. Oth-
erwise, a value of -1 is returned and errno is set to indi-
cate the error.
SUPER-UX Last change: Oct 13, 1999 1
G1AB02E Programmer's Reference Manual