Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/ia32/include/inttypes.h

    r5587cf7 r63f8966  
    3030 * @{
    3131 */
     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 */
    3239
    3340#ifndef LIBC_ia32_INTTYPES_H_
    3441#define LIBC_ia32_INTTYPES_H_
    3542
    36 #define PRIdn  PRId32  /**< Format for sysarg_t, ipcarg_t, etc. */
    37 #define PRIun  PRIu32  /**< Format for sysarg_t, ipcarg_t, etc. */
    38 #define PRIxn  PRIx32  /**< Format for hexadecimal sysarg_t, ipcarg_t, etc. */
    39 #define PRIua  PRIu32  /**< Format for atomic_count_t. */
     43#define PRId8 "d"
     44#define PRId16 "d"
     45#define PRId32 "d"
     46#define PRId64 "lld"
     47#define PRIdPTR "d"
     48
     49#define PRIo8 "o"
     50#define PRIo16 "o"
     51#define PRIo32 "o"
     52#define PRIo64 "llo"
     53#define PRIoPTR "o"
     54
     55#define PRIu8 "u"
     56#define PRIu16 "u"
     57#define PRIu32 "u"
     58#define PRIu64 "llu"
     59#define PRIuPTR "u"
     60
     61#define PRIx8 "x"
     62#define PRIx16 "x"
     63#define PRIx32 "x"
     64#define PRIx64 "llx"
     65#define PRIxPTR "x"
     66
     67#define PRIX8 "X"
     68#define PRIX16 "X"
     69#define PRIX32 "X"
     70#define PRIX64 "llX"
     71#define PRIXPTR "X"
    4072
    4173#endif
Note: See TracChangeset for help on using the changeset viewer.