summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/str_error.h
blob: 626d7ffb03d60d27232dc6b9dd101e98f8a71dea (plain)
1
2
3
4
5
6
7
8
9
/* 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 */