Loading...
Searching...
No Matches
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
21
22#include <stdint.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
32#define SYS_EINVAL (-2)
33#define SYS_ENOMEM (-1)
35
40#define OS_TIMEOUT_NEVER (UINT32_MAX)
41#define OS_WAIT_FOREVER (OS_TIMEOUT_NEVER)
43
47typedef uint32_t os_time_t;
48
52typedef char os_stack_t;
53
54#ifdef __cplusplus
55}
56#endif
uint32_t os_time_t
time type
Definition os_types.h:47
char os_stack_t
stack buffer type
Definition os_types.h:52