_test_bit(9)
π _test_bit(9) π
okay bestie, welcome to the Kernel API Manual entry for _test_bit(9) β sheβs here, sheβs iconic, and she has one very specific job π
β¨
π NAME π
_test_bit β determine whether a bit is set, periodt π«Ά
β¨ SYNOPSIS β¨
bool _test_bit (unsigned long nr , const volatile unsigned long *addr );
π¦ ARGUMENTS π¦
nrβ bit number to test π like, which bit are we checking, bestie?addrβ Address to start counting from π the starting point for the counting vibes.
π SEE ALSO π
- Kernel file:
./tools/include/asm-generic/bitops/non-atomic.hπβ¨ ___set_bit(9)___change_bit(9)___test_and_set_bit(9)___test_and_clear_bit(9)
these are the linked besties, iykyk π
mwah π β footer tea time: source/version is ./tools/include/asm-generic/bi..., dated October 2026, and yeah, _test_bit(9) is living in that footer too. bye bestie ππ«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms