Changeset 5587cf7 in mainline for uspace/lib/c/include/sys/typefmt.h


Ignore:
Timestamp:
2010-11-26T01:15:00Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3ebba9a
Parents:
855e0d8
Message:
  • use portable constant defines for integer range constants
  • add portable constant defines INTN_C and UINTN_C (for native_t and unative_t)
  • remove explicit wchar_t typedef (use the typedef set by autotool)
  • remove non-standard printf() formatting macros (PRIp, PRIs, PRIdPTR, etc.)
  • introduce PRIua formatting macro (for atomic_count_t)
  • unify kernel and uspace formatting macros
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/sys/typefmt.h

    r855e0d8 r5587cf7  
    3939#include <inttypes.h>
    4040
    41 /* off64_t */
     41/* off64_t, aoff64_t */
    4242#define PRIdOFF64 PRId64
    4343#define PRIuOFF64 PRIu64
     
    4545#define PRIXOFF64 PRIX64
    4646
    47 /* (s)size_t */
    48 #define PRIdSIZE PRIdPTR
    49 #define PRIuSIZE PRIuPTR
    50 #define PRIxSIZE PRIxPTR
    51 #define PRIXSIZE PRIXPTR
    52 
    53 /* sysarg_t */
    54 #define PRIdSYSARG PRIdPTR
    55 #define PRIuSYSARG PRIuPTR
    56 #define PRIxSYSARG PRIxPTR
    57 #define PRIXSYSARG PRIxPTR
    58 
    59 /* ipcarg_t */
    60 #define PRIdIPCARG PRIdPTR
    61 #define PRIuIPCARG PRIuPTR
    62 #define PRIxIPCARG PRIxPTR
    63 #define PRIXIPCARG PRIXPTR
    64 
    65 /* taskid_t */
    66 #define PRIdTASKID PRId64
    67 #define PRIuTASKID PRIu64
    68 #define PRIxTASKID PRIx64
    69 #define PRIXTASKID PRIx64
    70 
    7147#endif
    7248
Note: See TracChangeset for help on using the changeset viewer.