BEEP-8 SDK
1.0.0
Loading...
Searching...
No Matches
include
b8
errno.h
Go to the documentation of this file.
1
13
#pragma once
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
19
#include <stdint.h>
20
30
typedef
enum
{
31
B8_OK = 0,
32
B8_NO_ERROR = 0,
33
B8_INVALID_VALUE = 2000,
34
B8_INVALID_ENUM,
35
}
b8Err
;
36
51
extern
int
set_errno
(
int
errcode);
52
64
extern
int
get_errno
(
void
);
65
66
67
#ifdef __cplusplus
68
}
69
#endif
set_errno
int set_errno(int errcode)
Set the current error code.
Definition
errno.c:4
b8Err
b8Err
Enumeration of error codes.
Definition
errno.h:30
get_errno
int get_errno(void)
Retrieve the current error code.
Definition
errno.c:14
Generated by
1.12.0