summaryrefslogtreecommitdiffstats
path: root/src/str_error.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/str_error.h')
-rw-r--r--src/str_error.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/str_error.h b/src/str_error.h
new file mode 100644
index 0000000..a139334
--- /dev/null
+++ b/src/str_error.h
@@ -0,0 +1,6 @@
+/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
+#ifndef __LIBBPF_STR_ERROR_H
+#define __LIBBPF_STR_ERROR_H
+
+char *libbpf_strerror_r(int err, char *dst, int len);
+#endif /* __LIBBPF_STR_ERROR_H */