NPA_Btr
Atomic bit reset function for multiprocessor (MP) safe
operation.
- Thread Context:Non-Blocking
- Requirements: The memory location
must be valid or the system abends.
Syntax
LONG NPA_Btr (
LONG *value
LONG position
);
Parameters
- value
- (IN) Points to the value to be modified.
- position
- (IN) Constant indicating position of the bit to
be reset (0..31).
Return Values
Returns the value of the original bit (0 or 1).
Remarks
Clears the bit in the position specified and returns the original
value of the bit.