~jakub/helenos/ia64-revival

« back to all changes in this revision

Viewing changes to uspace/lib/c/arch/ia64/include/inttypes.h

  • Committer: Jakub Jermar
  • Date: 2011-04-13 14:45:41 UTC
  • mfrom: (527.1.397 main-clone)
  • Revision ID: jakub@jermar.eu-20110413144541-x0j3r1zxqhsljx1o
MergeĀ mainlineĀ changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
/** @addtogroup libia64
30
30
 * @{
31
31
 */
32
 
/** @file Macros for format specifiers.
33
 
 *
34
 
 * Macros for formatting stdint types as specified in section
35
 
 * 7.8.1 Macros for format specifiers of the C99 draft specification
36
 
 * (ISO/IEC 9899:201x). Only some macros from the specification are
37
 
 * implemented.
38
 
 */
39
32
 
40
33
#ifndef LIBC_ia64_INTTYPES_H_
41
34
#define LIBC_ia64_INTTYPES_H_
42
35
 
43
 
#define PRId8 "d"
44
 
#define PRId16 "d"
45
 
#define PRId32 "d"
46
 
#define PRId64 "ld"
47
 
#define PRIdPTR "ld"
48
 
 
49
 
#define PRIo8 "o"
50
 
#define PRIo16 "o"
51
 
#define PRIo32 "o"
52
 
#define PRIo64 "lo"
53
 
#define PRIoPTR "lo"
54
 
 
55
 
#define PRIu8 "u"
56
 
#define PRIu16 "u"
57
 
#define PRIu32 "u"
58
 
#define PRIu64 "lu"
59
 
#define PRIuPTR "lu"
60
 
 
61
 
#define PRIx8 "x"
62
 
#define PRIx16 "x"
63
 
#define PRIx32 "x"
64
 
#define PRIx64 "lx"
65
 
#define PRIxPTR "lx"
66
 
 
67
 
#define PRIX8 "X"
68
 
#define PRIX16 "X"
69
 
#define PRIX32 "X"
70
 
#define PRIX64 "lX"
71
 
#define PRIXPTR "lX"
 
36
#define PRIdn  PRId64  /**< Format for native_t. */
 
37
#define PRIun  PRIu64  /**< Format for sysarg_t. */
 
38
#define PRIxn  PRIx64  /**< Format for hexadecimal sysarg_t. */
 
39
#define PRIua  PRIu64  /**< Format for atomic_count_t. */
72
40
 
73
41
#endif
74
42