---
name: "rtapi_gfp"
section: "3rtapi"
platform: "linux"
package: "linuxcnc-uspace-dev"
version: "1:2.9.4-2+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rtapi_gfp"
---

# rtapi\_gfp(3rtapi)

RTAPI wrappers for linux kernel functionality

## NAME

rtapi\_gfp.h - RTAPI wrappers for linux kernel functionality

## SYNTAX

\#include \<rtapi\_gfp.h\>

enum rtapi\_gfp\_e;

RTAPI\_GFP\_xxx

typedef ... rtapi\_gfp\_t;

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

## REALTIME CONSIDERATIONS

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

## RETURN VALUE

As in Linux.

## SEE ALSO
