funct(3rtapi)
okay bestie, welcome to funct(3rtapi) from the RTAPI manual β the page for rtapi_bool.h, and it's literally the low-drama include helper of your dreams. π
πΈ NAME πΈ
rtapi_bool.h β RTAPI wrappers for linux kernel functionality. That's the whole vibe. β¨
β¨ SYNTAX β¨
Drop this in and you're good:
#include <rtapi_bool.h>
π DESCRIPTION π
okay so what does it do? It includes either <stdbool.h> or <linux/types.h> as appropriate, to obtain suitable declarations of "bool", "true" and "false". That's it. That's the slay. π
π¦ REALTIME CONSIDERATIONS π¦
None. None. Not a single realtime consideration in sight. π
π NOTES π
Also permitted in C++ programs, where including it has no effect. So if you're in C++ land, this include is just chillin' β no effect, no cap. π«Ά
xoxo, LinuxCNC Documentation, dated 2014-06-28. Bye bestie! πβ¨
π¦ where this page comes from
- debian bookworm: linuxcnc-uspace-dev 2.9.0~pre1+git20230208.f1270d6ed7-1+deb12u2 Β· GFDL-1.1-or-later
- debian trixie: linuxcnc-uspace-dev 1:2.9.4-2+deb13u1 Β· GFDL-1.1-or-later
- ubuntu questing: linuxcnc-uspace-dev 1:2.9.4-2ubuntu2
- ubuntu resolute: linuxcnc-uspace-dev 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- ubuntu stonking: linuxcnc-uspace-dev 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- Copyright (c) 2014 Jeff Epler
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms