---
name: "relay_close"
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_close"
---

# relay\_close(9)

close the channel

## NAME

relay\_close - close the channel

## SYNOPSIS

**void relay\_close(struct rchan \*** *chan***);**

## ARGUMENTS

*chan*

the channel

## DESCRIPTION

Closes all channel buffers and frees the channel.

## COPYRIGHT
