mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
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 <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: John Fastabend <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
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 */
|