clear_bit

skylib_fluffos_v3/mudlib/doc/driver/efuns/strings/clear_bit · 447 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

.\"zero a bit in a bitstring
.DT
clear_bit
$MUDNAME$ driver help
clear_bit

.SH Name
.SI 5
clear_bit() - zero a bit in a bit string
.EI

.SH Synopsis
.SI 5
string clear_bit( string str, int n );
.EI

.SH Description
.SP 5 5
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.
.EP

.SH See also
.SI 5
set_bit(), test_bit()
.EI

Site Stats

Snippets: 1791
Codebases: 571