logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rtapi_device.h - RTAPI wrappers for linux kernel functionality

Description

       In kernel space, each rtapi_xxx or RTAPI_XXX identifier is mapped to the underlying kernel functionality,
       if available.

       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)

Name

       rtapi_device.h - RTAPI wrappers for linux kernel functionality

Realtime Considerations

       Typically, these functions may be called from realtime init/cleanup code.

Return Value

       As in Linux.

See Also

LinuxCNC Documentation                             2014-06-28                                      funct(3rtapi)

Syntax


       #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);

See Also