Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 541

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.
#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
541

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - PLUG-IN and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Directory server 6.2

Table of Contents