Rechercher une page de manuel
snd_BUG_ON
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
snd_BUG_ON - debugging check macroSYNOPSIS
- snd_BUG_ON(cond);
ARGUMENTS
cond
- condition to evaluate
DESCRIPTION
When CONFIG_SND_DEBUG is set, this macro evaluates the given condition, and call WARN and returns the value if it's non-zero.
When CONFIG_SND_DEBUG is not set, this just returns zero, and the given condition is ignored.
NOTE
the argument won't be evaluated at all when CONFIG_SND_DEBUG=n. Thus, don't put any statement that influences on the code behavior, such as pre/post increment, to the argument of this macro. If you want to evaluate and give a warning, use standard WARN_ON.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre