clear_bit

MudOSa4DGD/doc/efun/bitstrings/clear_bit · 593 B

From the archive MudOSa4DGD-30.06.98.tar.gz

Download the archive   « Back to the archive contents

NAME
	clear_bit - clear a bit in a bitstring

SYNOPSIS
	string clear_bit(string str, int b)


DESCRIPTION
	Clear the bit b in bitstring str and returns the new bitstring.
	The length of the bitstring will dynamically increase if
	nescessary.

	Config.h must define MUDOS_BITSTRING for bitstring functions to
	exist.

ERROR
        If b < 0 an error will occur. The resulting bitstring must also be
        smaller than MAX_STRING_SIZE.

NOTE
	Bitstrings are currently on byte level. This may change in the
	future, so do NOT make ANY assumptions on bitstring data.

SEE ALSO
	efun/bitstrings/

Site Stats

Snippets: 1791
Codebases: 571