API Reference Manual  1.45.0
api/spec/errno.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2015-2018 Linaro Limited
3  */
4 
11 #ifndef ODP_API_SPEC_ERRNO_H_
12 #define ODP_API_SPEC_ERRNO_H_
13 #include <odp/visibility_begin.h>
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
46 int odp_errno(void);
47 
53 void odp_errno_zero(void);
54 
63 void odp_errno_print(const char *str);
64 
75 const char *odp_errno_str(int errnum);
76 
81 #ifdef __cplusplus
82 }
83 #endif
84 
85 #include <odp/visibility_end.h>
86 #endif
void odp_errno_zero(void)
Set ODP errno to zero.
void odp_errno_print(const char *str)
Print ODP errno.
int odp_errno(void)
Latest ODP errno.
const char * odp_errno_str(int errnum)
Error message string.