Atomically sets the specified bit in the specified memory location and returns the original value of the bit.
#include <stdlib.h> unsigned long atomic_bts ( unsigned long *addr, unsigned long offset);
(IN) Points to the memory location for the operation.
(IN) Specifies the bit position, from 0 (the least significant bit) to 31 (the most significant bit).
Returns the original value of the bit, either 0 or 1.
The atomic_bts function sets the bit to 1.
The memory location address is expected to be valid. If an invalid address is passed, the server will abend.