summaryrefslogtreecommitdiffstats
path: root/include/lib/libc/aarch64/inttypes_.h
blob: f25882f2cc24675450ed01348a2a0fcecff9708c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Copyright 2020 Broadcom
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */
/*
 * Portions copyright (c) 2020, ARM Limited and Contributors.
 * All rights reserved.
 */

#ifndef INTTYPES__H
#define INTTYPES__H

#define PRId64		"ld"	/* int64_t */
#define PRIi64		"li"	/* int64_t */
#define PRIo64		"lo"	/* int64_t */
#define PRIu64		"lu"	/* uint64_t */
#define PRIx64		"lx"	/* uint64_t */
#define PRIX64		"lX"	/* uint64_t */

#define PRIdPTR         "ld"    /* intptr_t */
#define PRIiPTR         "li"    /* intptr_t */
#define PRIoPTR         "lo"    /* intptr_t */
#define PRIuPTR         "lu"    /* uintptr_t */
#define PRIxPTR         "lx"    /* uintptr_t */
#define PRIXPTR         "lX"    /* uintptr_t */

#endif /* INTTYPES__H */