Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
os_types.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Inria
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
9
#pragma once
10
22
#include <stdint.h>
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
32
#define SYS_EINVAL (-2)
33
#define SYS_ENOMEM (-1)
40
#define OS_TIMEOUT_NEVER (UINT32_MAX)
41
#define OS_WAIT_FOREVER (OS_TIMEOUT_NEVER)
47
typedef
uint32_t
os_time_t
;
48
52
typedef
char
os_stack_t
;
53
54
#ifdef __cplusplus
55
}
56
#endif
os_time_t
uint32_t os_time_t
time type
Definition:
os_types.h:47
os_stack_t
char os_stack_t
stack buffer type
Definition:
os_types.h:52
Generated on Mon Oct 20 2025 13:02:26 by
1.9.1