Loading...
Searching...
No Matches
os_types.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 Inria
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
18
19#include <stdint.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
29#define SYS_EINVAL (-2)
30#define SYS_ENOMEM (-1)
32
37#define OS_TIMEOUT_NEVER (UINT32_MAX)
38#define OS_WAIT_FOREVER (OS_TIMEOUT_NEVER)
40
44typedef uint32_t os_time_t;
45
49typedef char os_stack_t;
50
51#ifdef __cplusplus
52}
53#endif
uint32_t os_time_t
time type
Definition os_types.h:44
char os_stack_t
stack buffer type
Definition os_types.h:49