_test_bit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ _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 🌈

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