---
name: "relay_create_buf"
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/relay_create_buf"
---

# relay\_create\_buf(9)

allocate and initialize a channel buffer

## NAME

relay\_create\_buf - allocate and initialize a channel buffer

## SYNOPSIS

**struct rchan\_buf \* relay\_create\_buf(struct rchan \*** *chan***);**

## ARGUMENTS

*chan*

the relay channel

## DESCRIPTION

Returns channel buffer if successful, **NULL** otherwise.

## COPYRIGHT
