---
name: "lc_channel_rq"
section: "3"
platform: "linux"
package: "liblibrecast-dev"
version: "0.9.1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/lc_channel_rq"
---

# lc\_channel\_rq(3)

return lcrq handle for channel

## NAME

lc\_channel\_rq - return lcrq handle for channel

## LIBRARY

Librecast library (*liblibrecast*, *-llibrecast*)

## SYNOPSIS

```
#include <librecast/net.h>
```

**rq\_t \*lc\_channel\_rq(lc\_channel\_t** *\*chan***);**

Compile and link with *-llibrecast*.

## DESCRIPTION

The **lc\_channel\_rq** function returns the lcrq (RaptorQ) handle for channel *chan*.

## RETURN VALUE

The **lc\_channel\_rq** function returns a pointer to the lcrq handle associated with the channel, or NULL if none set.

## ERRORS

None.

## SEE ALSO

[**lc\_ctx\_new**(3)](/lc_ctx_new/3.md), [**lc\_ctx\_free**(3)](/lc_ctx_free/3.md), **lc\_channel\_new**(3), [**lcrq**(7)](/lcrq/7.md)
