atomic_xor

Atomically performs an exclusive bitwise OR (XOR) operation.

Library:LibC
Classification:Other
Service:General C Services

Syntax

  #include <stdlib.h> 
   
  void   atomic_xor (
     unsigned long   *addr,
     unsigned long    value);
  

Parameters

addr

(IN) Points to the memory location for the operation.

value

(IN) Specifies the value for the XOR operation.

Remarks

The memory location address is expected to be valid. If an invalid address is passed, the server will abend.

See Also