mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
05f9cdd55d
It's quite a lot of well isolated code, so it seems like a good candidate to move it out of libbpf.c to reduce its size. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/20240124022127.2379740-24-andrii@kernel.org
10 lines
235 B
C
10 lines
235 B
C
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
|
|
#ifndef __LIBBPF_STR_ERROR_H
|
|
#define __LIBBPF_STR_ERROR_H
|
|
|
|
#define STRERR_BUFSIZE 128
|
|
|
|
char *libbpf_strerror_r(int err, char *dst, int len);
|
|
|
|
#endif /* __LIBBPF_STR_ERROR_H */
|