API Reference Manual 1.51.0
Loading...
Searching...
No Matches
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
16extern "C" {
17#endif
18
46int odp_errno(void);
47
53void odp_errno_zero(void);
54
63void odp_errno_print(const char *str);
64
75const char *odp_errno_str(int errnum);
76
81#ifdef __cplusplus
82}
83#endif
84
85#include <odp/visibility_end.h>
86#endif
const char * odp_errno_str(int errnum)
Error message string.
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.