test_bit
skylib_fluffos_v3/mudlib/doc/driver/efuns/strings/test_bit · 332 B
From the archive skylib_fluffos_v3.zip
Download the archive « Back to the archive contents
.\"test a bit in a bitstring .DT test_bit $MUDNAME$ driver help test_bit .SH Name .SI 5 test_bit() - test a bit in a bitstring .EI .SH Synopsis .SI 5 int test_bit( string str, int n ); .EI .SH Description .SP 5 5 Return 1 if bit `n' was set in string `str', and zero (0) otherwise. .EP See also .SI 5 set_bit(), clear_bit() .EI