table of contents
other versions
- jessie 3.16.56-1+deb8u1
CLAMP_T(9) | Driver Basics | CLAMP_T(9) |
NAME¶
clamp_t - return a value clamped to a given range using a given typeSYNOPSIS¶
clamp_t(type, val,
min, max);
ARGUMENTS¶
typethe type of variable to use
val
current value
min
minimum allowable value
max
maximum allowable value
DESCRIPTION¶
This macro does no typechecking and uses temporary variables of type 'type' to make all the comparisons.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |