Slapi_Isbitset_Int() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Table 15-33 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.
Syntax
#include "slapi-plugin.h"
int slapi_isbitset_int(unsigned int f,unsigned int 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_int()
slapi_unsetbit_int()
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.
if the specified bit is set.
if the specified bit is not set.
Functions for Manipulating Bits
Chapter 15
Function Reference
551

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents