---
name: "DEFINE_KFIFO"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/DEFINE_KFIFO"
---

# DEFINE\_KFIFO(9)

macro to define and initialize a fifo

## NAME

DEFINE\_KFIFO - macro to define and initialize a fifo

## SYNOPSIS

**DEFINE\_KFIFO(***fifo***,** *type***,** *size***);**

## ARGUMENTS

*fifo*

name of the declared fifo datatype

*type*

type of the fifo elements

*size*

the number of elements in the fifo, this must be a power of 2

## NOTE

the macro can be used for global and local fifo data type variables.

## COPYRIGHT
