Functions For Manipulating Bits - Netscape DIRECTORY SERVER 6.01 - PLUG-IN Manual

Table of Contents

Advertisement

Functions for Manipulating Bits

0 if an error occurs (for example, if the condition variable is NULL or if the
mutex associated with the condition variable is not locked).
Description
This function waits on the condition variable until it receives notification (see the
slapi_notify_condvar()
must lock the mutex associated with this condition variable.
Functions for Manipulating Bits
This section contains reference information on routines for manipulating bits.
Table 14-32 Bit Manipulator Routines
Function
slapi_isbitset_int()
slapi_isbitset_uchar()
slapi_setbit_int()
slapi_setbit_uchar()
slapi_unsetbit_int()
slapi_unsetbit_uchar()
slapi_isbitset_int()
Checks whether a particular bit is set in the specified integer.
#include "slapi-plugin.h"
int slapi_isbitset_int(unsigned int f,unsigned int bitnum);
Parameters
This function takes the following parameters:
f
bitnum
484
Netscape Directory Server Plug-In Programmer's Guide • January 2002
function). Before calling this function, the calling thread
Description
Checks whether a particular bit is set in an integer.
Checks whether a particular bit is set in a character.
Sets the specified bit in an integer.
Sets the specified bit in a character.
Unsets the specified bit in an integer.
Unsets the specified bit in a character.
The unsigned integer, a bit of which is to be checked.
The bit number in the unsigned integer that needs to be checked.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.01

Table of Contents