Skip to main content

clear_bit

Discworld driver help

clear_bit

Name

clear_bit() - zero a bit in a bit string

Synopsis

string clear_bit( string str, int n );

Description

Return the new string where bit `n' is cleared in string `str'. Note that the old string `str' is not modified. See set_bit() for information on the format of the string.

See also

set_bit(), test_bit()