Atomically subtracts a 32-bit value from the 32-bit value in the specified memory location.
#include <stdlib.h> void atomic_sub ( unsigned long *addr, unsigned long value);
(IN) Points to the memory location for the operation.
(IN) Specifies the value to subtract.
The memory location address is expected to be valid. If an invalid address is passed, the server will abend.