Returns
This function returns the integer with the specified bit set.
See Also
slapi_isbitset_int()
slapi_unsetbit_int()
slapi_setbit_uchar()
Sets the specified bit in a character.
Syntax
#include "slapi-plugin.h"
unsigned char slapi_setbit_uchar(unsigned char f,
unsigned char bitnum);
Parameters
This function takes the following parameters:
f
bitnum
Returns
This function returns the character with the specified bit set.
See Also
slapi_isbitset_uchar()
slapi_unsetbit_uchar()
slapi_unsetbit_int()
Unsets the specified bit in an integer.
Syntax
#include "slapi-plugin.h"
unsigned int slapi_unsetbit_int(unsigned int f,unsigned int bitnum);
The character in which a bit is to be set.
The bit number that needs to be set in the character.
Functions for Manipulating Bits
Chapter 15
Function Reference
553
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers