icetIsEnabled(3)

πŸŽ€ icetIsEnabled(3) β€” IceT Reference πŸŽ€

okay bestie, welcome to icetIsEnabled, the little function that answers the question every girl asks eventually: is this thing even on?? πŸ’… It lives in the IceT crew and it's here to query the enabled status of an IceT feature. no cap. it just checks, it doesn't change anything. pure observer energy. πŸ‘‘


✨ NAME ✨

icetIsEnabled β€” query enabled status of an IceT feature. that's it, that's the whole job, and she does it flawlessly. πŸ¦‹


✨ SYNOPSIS ✨

#include <IceT.h>

IceTBoolean icetIsEnabled(   IceTEnum   pname   );

you give her a pname, she tells you if that feature is enabled. simple. iconic. periodt. πŸ’–


✨ RETURN VALUE ✨

Returns ICET_TRUE if the feature associated with pname is enabled, ICET_FALSE $(= 0)$ if the feature is disabled. that's the whole vibe check: on or off, true or false, slay or not-slay. 🌈


✨ ERRORS ✨

  • ICET_INVALID_VALUE β€” if pname is not a feature to be enabled or disabled. like, bestie, you handed her something that isn't even a switch. 🚫

✨ WARNINGS ✨

None. literally none. she has nothing to warn you about. 😌✨


✨ BUGS ✨

okay so πŸ’€ β€” the check for a valid pname is not thorough, and thus the ICET_INVALID_VALUE error may not always be raised. so like, don't assume she caught your typo, because sometimes she's just not looking. fr fr. keep your pname correct and we all stay happy. πŸ™ˆ


✨ NOTES ✨

A list of valid values for pname is given in the documentation for icetEnable. go read that one if you need the receipts. iykyk. πŸ“–


Copyright (C)2003 Sandia Corporation

Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software.

This source code is released under the New BSD License.


✨ SEE ALSO ✨

icetEnable(3), icetDisable(3)


and that's the whole page bestie 🫢 β€” brought to you by the IceT Reference, version dated August 9, 2010. go check those feature flags and stay enabled, queen. πŸ’œπŸŒΈ