Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
inttypes.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2016 Intel Corporation
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
8
#ifndef ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_INTTYPES_H_
9
#define ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_INTTYPES_H_
10
11
#include <
stdint.h
>
12
13
#define PRId8 "d"
/* int8_t */
14
#define PRId16 "d"
/* int16_t */
15
#define PRId32 "d"
/* int32_t */
16
#define PRId64 "lld"
/* int64_t */
17
#define PRIdPTR "ld"
/* intptr_t */
18
19
#define PRIi8 "i"
/* int8_t */
20
#define PRIi16 "i"
/* int16_t */
21
#define PRIi32 "i"
/* int32_t */
22
#define PRIi64 "lli"
/* int64_t */
23
#define PRIiPTR "li"
/* intptr_t */
24
25
#define PRIo8 "o"
/* int8_t */
26
#define PRIo16 "o"
/* int16_t */
27
#define PRIo32 "o"
/* int32_t */
28
#define PRIo64 "llo"
/* int64_t */
29
#define PRIoPTR "lo"
/* intptr_t */
30
31
#define PRIu8 "u"
/* uint8_t */
32
#define PRIu16 "u"
/* uint16_t */
33
#define PRIu32 "u"
/* uint32_t */
34
#define PRIu64 "llu"
/* uint64_t */
35
#define PRIuPTR "lu"
/* uintptr_t */
36
37
#define PRIx8 "x"
/* uint8_t */
38
#define PRIx16 "x"
/* uint16_t */
39
#define PRIx32 "x"
/* uint32_t */
40
#define PRIx64 "llx"
/* uint64_t */
41
#define PRIxPTR "lx"
/* uintptr_t */
42
43
#define PRIX8 "X"
/* uint8_t */
44
#define PRIX16 "X"
/* uint16_t */
45
#define PRIX32 "X"
/* uint32_t */
46
#define PRIX64 "llX"
/* uint64_t */
47
#define PRIXPTR "lX"
/* uintptr_t */
48
49
#endif
stdint.h
lib
libc
minimal
include
inttypes.h
Generated on Sun Oct 9 2022 09:21:57 for Zephyr API Documentation by
1.9.4