Changeset 473a3cd in rtems


Ignore:
Timestamp:
Apr 23, 2017, 5:53:44 PM (3 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
90033411
Parents:
2912982
Message:

rtems/inttypes.h: Add PRIdioctl_command_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/inttypes.h

    r2912982 r473a3cd  
    121121#define PRIdrtems_task_argument PRIdThread_Entry_numeric_type
    122122
    123 /* rtems_event_set is a typedef to unit32_t */
     123/* rtems_event_set is a typedef to uint32_t */
    124124#define PRIxrtems_event_set PRIx32
    125125
    126 /* HACK: newlib defines pthread_t as a typedef to __uint32_t */
    127 /* HACK: There is no portable way to print pthread_t's */
     126/* newlib defines pthread_t as a typedef to __uint32_t which matches
     127 * RTEMS expectations for an Object ID.
     128 */
    128129#define PRIxpthread_t PRIx32
    129130
     
    134135#define PRIxino_t "lx"
    135136
     137/* ioctl_command_t */
     138#define PRIdioctl_command_t PRId32
     139
    136140/**@}*/
    137141
Note: See TracChangeset for help on using the changeset viewer.