Skip to content

Helper function bpf_sys_close

v5.14

Definition

Copyright (c) 2015 The Libbpf Authors. All rights reserved.

Execute close syscall for given FD.

Returns

A syscall result.

static long (* const bpf_sys_close)(__u32 fd) = (void *) 168;

Usage

Docs could be improved

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

Program types

This helper call can be used in the following program types:

Example

Docs could be improved

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