test_bit

Name

test_bit --  Determine whether a bit is set

Synopsis

int test_bit (int nr, const volatile void * addr);

Arguments

nr

bit number to test

addr

Address to start counting from