SysTutorials

Linux Manual Pages › Section 9

test_bit(9)

test_bit – Determine whether a bit is set

Synopsis

bool test_bit(int nr, const volatile unsigned long * addr);

Arguments

nr

bit number to test

addr

Address to start counting from

Copyright