PMWRITE(3)
PM Programmer's Manual
PMWRITE(3)
NAME
pmWrite - copy data from a local region

SYNOPSIS
int pmWrite(pmContext *pmc, int rmt_node, pmAddrHandle rmt_hndl, pmAddrHandle local_hndl, size_t len);

ARGUMENTS
pmContext * pmc
IN
pmContext object
int rmt_node
IN
Remote node number
pmAddrHandle rmt_hndl
IN
Remote address handle
pmAddrHandle local_hndl
IN
Local address handle
size_t len
IN
Bytes to write

IMPLEMENTATION LEVEL
OPTIONAL (REMOTE_WRITE)

DESCRIPTION
pmWrite() copies data from a local region to a remote node.
Both regions must be locked by pmMLock().
Local and remote address handles are (locked address handle + offset).

NOTES
Alignment of rmt_hndl, local_hndl and len is system dependent.
Minimum value of len is system dependent.

RETURN VALUES
PM_SUCCESS Success
EINVAL Invalid remote node number
Invalid length
ENOBUFS No enough resources to write
ENOSYS Operation not supported


$Id: pmWrite.html,v 1.1.1.1 2002/02/12 02:00:13 kameyama Exp $