Name

test_bit — Determine whether a bit is set

Synopsis

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

Arguments

nr

bit number to test

addr

Address to start counting from