Determines if all the specified bits in a value are set according to a specified bit mask.
Files
lib_def.h
Prototype
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
DEF_BIT_IS_SET(val, mask);
|
Arguments
val
Value to test if the specified bits are set.
...
val
and mask
should be unsigned integers. NULL
mask
(i.e., mask of value 0
) allowed; returns DEF_NO
since no mask bits specified.
Example Usage
...
Language | C++ |
---|---|
CaptionText | CAPTION |
language | cpp |
...