diff options
author | Mykyta Yatsenko <yatsenko@meta.com> | 2024-11-12 00:29:16 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-11-12 07:29:20 +0300 |
commit | 1633a83bf993fa1eb8df26ec6043f77a2fe03245 (patch) | |
tree | 24ea16186b877fe18f9751854baeb0bfb040db19 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 213a695297e1f0c2ed814488757d496b0d7f7267 (diff) | |
download | linux-1633a83bf993fa1eb8df26ec6043f77a2fe03245.tar.xz |
libbpf: Introduce errstr() for stringifying errno
Add function errstr(int err) that allows converting numeric error codes
into string representations.
Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241111212919.368971-2-mykyta.yatsenko5@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions