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 
20 #ifndef OS_OS_TYPES_H
21 #define OS_OS_TYPES_H
22 
23 #include <stdint.h>
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
33 #define SYS_EINVAL (-2)
34 #define SYS_ENOMEM (-1)
41 #define OS_TIMEOUT_NEVER (UINT32_MAX)
42 #define OS_WAIT_FOREVER (OS_TIMEOUT_NEVER)
48 typedef uint32_t os_time_t;
49 
53 typedef char os_stack_t;
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 #endif /* OS_OS_TYPES_H */
uint32_t os_time_t
time type
Definition: os_types.h:48
char os_stack_t
stack buffer type
Definition: os_types.h:53