They are dependent on the processor.<br><br>You can get them in C by using:<br>sizeof(int)<br>sizeof(long)<br>sizeof(void*)<br><br><div class="gmail_quote">On Thu, Aug 16, 2012 at 2:46 PM, Xiaochen Pan <span dir="ltr"><<a href="mailto:panx@seas.upenn.edu" target="_blank">panx@seas.upenn.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi there,<br>
<br>
What is the width for datatypes int, long, and pointer in rtems respectively? Are they depended on the processor? where are they defined?<br>
<br>
Thank you,<br>
Xiaochen<br>
_______________________________________________<br>
rtems-devel mailing list<br>
<a href="mailto:rtems-devel@rtems.org">rtems-devel@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-devel" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-devel</a><br>
</blockquote></div><br>