raw1394_lock
Name
raw1394_lock -- send 32-bit compare-swap lock request and wait for response.
Synopsis
int raw1394_lock (raw1394handle_t handle, nodeid_t node, nodeaddr_t addr, unsigned int extcode, quadlet_t data, quadlet_t arg, quadlet_t * result);
Arguments
handle libraw1394 handle
node target node
addr address to read from
extcode extended transaction code determining the lock operation
data data part of lock parameters
arg arg part of lock parameters
result address where return value will be written
Description
This does the complete transaction and will return when it's finished. It
will call raw1394_loop_iterate as often as necessary, return values of
handlers called will be therefore lost.
Returns
0 on success or -1 on failure (sets errno)