xref: /linux/tools/lib/bpf/str_error.h (revision 42d37fc0c819b81f6f6afd108b55d04ba9d32d0f)
1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
2 #ifndef __LIBBPF_STR_ERROR_H
3 #define __LIBBPF_STR_ERROR_H
4 
5 #define STRERR_BUFSIZE  128
6 
7 char *libbpf_strerror_r(int err, char *dst, int len);
8 
9 #endif /* __LIBBPF_STR_ERROR_H */
10