Skip to content

Libbpf userspace function bpf_linker__finalize

0.4.0

Finalize the linker and write the linked ELF file to the path specified in bpf_linker__new.

Definition

int bpf_linker__finalize(struct bpf_linker *linker);

Parameters

  • linker: pointer to a struct bpf_linker object

Return

0, on success; On error negative error code, and and errno is set to the error code.

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