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