Name

test_bit — Determine whether a bit is set

Synopsis

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

Arguments

int nr

bit number to test

const volatile unsigned long * addr

Address to start counting from