47.3. slapi_setbit_int()

Sets the specified bit in an integer.
Syntax

#include "slapi-plugin.h"
unsigned int slapi_setbit_int(unsigned int f,unsigned int bitnum);

Parameters

This function takes the following parameters:

f
The integer in which a bit is to be set.
bitnum
The bit number that needs to be set in the integer.
Returns

This function returns the integer with the specified bit set.