Skip to content

Libbpf userspace function ring__map_fd

1.3.0

Returns the file descriptor underlying the given ring buffer.

Definition

int ring__map_fd(const struct ring *r);

Parameters

  • r: A ring buffer object.

Return

The underlying ring buffer file descriptor

Usage

Docs could be improved

This part of the docs is incomplete, contributions are very welcome

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome