Jump to content

Talk:Inttypes.h

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Jobin RV (talk | contribs) at 08:42, 6 October 2011 (Undid removal: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconC/C++ NA‑class Low‑importance
WikiProject iconThis redirect is within the scope of WikiProject C/C++, a collaborative effort to improve the coverage of C and C++ topics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
NAThis redirect does not require a rating on Wikipedia's content assessment scale.
LowThis redirect has been rated as Low-importance on the importance scale.
WikiProject iconIndia Redirect‑class
WikiProject iconThis redirect is within the scope of WikiProject India, which aims to improve Wikipedia's coverage of India-related topics. If you would like to participate, please visit the project page.
RedirectThis redirect does not require a rating on Wikipedia's content assessment scale.

Template:IEP assignment

Not a part of API?

Please explain why is inttypes.h not a part of API?
Jobin (talk) 15:52, 19 September 2011 (UTC)[reply]

Move to stdint.h

This article is currently incorrect. Those int types are defined in stdint.h. --hdante 21:45, 10 January 2007 (UTC)[reply]

Well, it's correct that these types are defined in stdint.h, but they're also defined in inttypes.h. The standard says this:

    The header <inttypes.h> includes the header <stdint.h> and extends it with
    additional facilities provided by hosted implementations.

The article is incomplete. inttypes.h declares many macros and functions that it does not mention. Pfaffben 23:59, 10 March 2007 (UTC)[reply]

stdint.h

inttypes.h includes stdint.h - it does not define the integral types itself. From the source:

The <inttypes.h> header shall include the <stdint.h> header.

The <inttypes.h> header shall define at least the following type:

imaxdiv_t


Information about stdint.h should go in the article for that header, not here.

-- strcat (talk) 00:58, 4 October 2011 (UTC)[reply]

Do you mean the whole article needs to be merged or is it that "Rationale" needs to be merged to stdint.h? Please clarify.

Jobin (talk) 07:14, 4 October 2011 (UTC)[reply]

Merge with stdint.h

inttypes.h includes stdint.h, inttypes.h contains the macros/functions whereas stdint.h contains the typedefs, these need to be dealt with separately, please reconsider merge.
Jobin (talk) 17:09, 5 October 2011 (UTC)[reply]

Undid removal

Please reconsider removal of the table giving syntax of macros in inttypes.h. It provides a good idea about the macros defined in inttypes.h. Please provide a valid reason
Jobin (talk) 08:41, 6 October 2011 (UTC)[reply]