PMWRITE(3) | PMWRITE(3) |
int pmWrite(pmContext *pmc, int rmt_node, pmAddrHandle rmt_hndl, pmAddrHandle local_hndl, size_t len);
pmContext * |
pmc |
pmContext object | |
int |
rmt_node |
Remote node number | |
pmAddrHandle |
rmt_hndl |
Remote address handle | |
pmAddrHandle |
local_hndl |
Local address handle | |
size_t |
len |
Bytes to write |
pmWrite
() copies data from a local region to a remote node.pmMLock
().locked address handle + offset
).
rmt_hndl
, local_hndl
and
len
is system dependent.len
is system dependent.
PM_SUCCESS |
Success |
EINVAL |
Invalid remote node number |
Invalid length | |
ENOBUFS |
No enough resources to write |
ENOSYS |
Operation not supported |