no_std_compat::arch::x86_64

Function _bittestandset

1.55.0 · Source
pub unsafe fn _bittestandset(p: *mut i32, b: i32) -> u8
Available on x86-64 only.
Expand description

Returns the bit in position b of the memory addressed by p, then sets the bit to 1.

Intel’s documentation