Rechercher une page de manuel
clamp_t
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
clamp_t - return a value clamped to a given range using a given typeSYNOPSIS
- clamp_t(type, val, min, max);
ARGUMENTS
type
- the 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
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre