Linux Audio

Check our new training course

Loading...
v6.8
1/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
2#ifndef __LIBBPF_STR_ERROR_H
3#define __LIBBPF_STR_ERROR_H
4
 
 
5char *libbpf_strerror_r(int err, char *dst, int len);
 
 
 
 
 
 
 
 
6#endif /* __LIBBPF_STR_ERROR_H */
v6.13.7
 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
 7char *libbpf_strerror_r(int err, char *dst, int len);
 8
 9/**
10 * @brief **errstr()** returns string corresponding to numeric errno
11 * @param err negative numeric errno
12 * @return pointer to string representation of the errno, that is invalidated
13 * upon the next call.
14 */
15const char *errstr(int err);
16#endif /* __LIBBPF_STR_ERROR_H */