Functions for Manipulating Bits
Returns
This function returns one of the following values:
•
1
•
0
See Also
slapi_setbit_int()
slapi_unsetbit_int()
slapi_isbitset_uchar()
Checks whether a particular bit is set in the specified character.
#include "slapi-plugin.h"
int slapi_isbitset_uchar(unsigned char f,unsigned char bitnum);
Parameters
This function takes the following parameters:
f
bitnum
Returns
This function returns one of the following values:
•
1
•
0
See Also
slapi_setbit_uchar()
slapi_unsetbit_uchar()
slapi_setbit_int()
Sets the specified bit in an integer.
486
Netscape Directory Server Plug-In Programmer's Guide • May 2002
if the specified bit is set.
if the specified bit is not set.
The unsigned character, a bit of which is to be checked.
The bit number in the unsigned character that needs to be
checked.
if the specified bit is set.
if the specified bit is not set.
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.02 - PLUG-IN and is the answer not in the manual?
Questions and answers