Name
raw1394_lock -- send 32-bit compare-swap lock request and wait for response.
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)