funct(3rtapi)
π funct(3rtapi) π
okay bestie, welcome to the funct(3rtapi) manual page β it's giving RTAPI energy and we're gonna get you all the way together β¨
πΈ NAME πΈ
rtapi_device.h β RTAPI wrappers for linux kernel functionality
β¨ SYNTAX β¨
so like, here's the whole vibe, no cap:
#include <rtapi_device.h>
struct rtapi_device;
int rtapi_dev_set_name(struct rtapi_device *dev, const char *name, ...);
int rtapi_device_register(struct rtapi_device *dev);
int rtapi_device_unregister(struct rtapi_device *dev);
π¦ DESCRIPTION π¦
okay so real talk, here's what's tea π
In kernel space, each rtapi_xxx or RTAPI_XXX identifier is mapped to the underlying kernel functionality, if available. periodt.
In userspace, or in kernels where the underlying functionality is not provided by a kernel, generally another implementation β possibly with reduced functionality β is provided. (For example, the userspace implementation for rtapi_device_register always succeeds) and honestly? iconic of it π
π₯ REALTIME CONSIDERATIONS π₯
Typically, these functions may be called from realtime init/cleanup code. so like, they're lowkey built different for that realtime moment, bestie π
π RETURN VALUE π
As in Linux. fr fr π«Ά
π SEE ALSO π
no other pages listed here, bestie β it's giving empty π but we still love her
made with love by LinuxCNC Documentation, dated 2014-06-28, and this has been funct(3rtapi) β stay slay, stay realtime, 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