funct(3rtapi)
π funct(3rtapi) β bestie edition
okay so this is the manual page for funct, living in section 3rtapi of the RTAPI manual set. it's the one about rtapi_stdint.h β RTAPI wrappers for linux kernel functionality. yes, "funct" is the name, no we don't know why either, moving on β¨
β¨ NAME β¨
rtapi_stdint.h β RTAPI wrappers for linux kernel functionality π«Ά
β¨ SYNTAX β¨
#include <rtapi_stdint.h>
typedef ... rtapi_s8;
typedef ... rtapi_s16;
typedef ... rtapi_s32;
typedef ... rtapi_s64;
typedef ... rtapi_intptr_t;
typedef ... rtapi_u8;
typedef ... rtapi_u16;
typedef ... rtapi_u32;
typedef ... rtapi_u64;
typedef ... rtapi_uintptr_t;
#define RTAPI_INTxx_MIN ...
#define RTAPI_INTxx_MAX ...
#define RTAPI_UINTxx_MAX ...
likeβ¦ the ... is doing a lot of heavy lifting here but that's literally what the page says, so it stays. no cap. π
β¨ DESCRIPTION β¨
so here's the tea, bestie π β this header is giving portability icon. the whole vibe is: you write your code against the rtapi_xxx / RTAPI_XXX names, and depending on where you are, something else handles it.
- In kernel space β every single
rtapi_xxxorRTAPI_XXXidentifier gets mapped to the underlying kernel functionality, if available. that "if available" is doing cardio, keep it in mind. π - In userspace, or in kernels where the underlying functionality isn't provided by a kernel β generally another implementation shows up, and it may come with reduced functionality. π
the page's own example, verbatim energy: the userspace implementation for rtapi_device_register always succeeds. so like. it's fine. it's fine!! (it's giving "we just said yes to everything" energy and honestly? respect.) π
β¨ REALTIME CONSIDERATIONS β¨
None. zero. nada. the realtime vibe check is clean, we are unbothered, we are at peace π§
β¨ RETURN VALUE β¨
As in Linux. periodt. π
β¨ SEE ALSO β¨
(the page lists nothing here, bestie β so there's nothing to link, and I'm not about to invent one. that would be a fake friend move π)
cute sign-off π: this lil page comes to you from the LinuxCNC Documentation, dated 2014-06-28, and yes it's filed under funct(3rtapi). it's short, it's sweet, it's lowkey iconic, and it ate. π¦β¨
π¦ 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