History log of /openbsd-current/include/inttypes.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.14 31-Jul-2022 guenther

POSIX 2008 TC2 requires <inttypes.h> to provide wchar_t

ok kettenis@ espie@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.13 25-Jan-2019 millert

I am retiring my old email address; replace it with my OpenBSD one.


# 1.12 22-Nov-2018 guenther

Our *int_fast{8,16}_t types are int/unsigned int, so SCN*FAST{8,16}
shouldn't include 'hh' or 'h'.

problem noted by Andreas Kusalananda K��h��ri (andreas.kahari(at)abc.se)
ok deraadt@ martijn@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.11 11-Jun-2013 matthew

Contrary to C99's advice, C++ TR1 and C++ 11 require that <inttypes.h>
and <stdint.h> should unconditionally define all of their macros
regardless of whether the __STDC_*_MACROS macros are defined.

ok guenther, espie
bulk build tested by landry


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.10 13-Jan-2009 kettenis

Add wcstoimax(3) and wcstoumax(3).

ok miod@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.9 15-Jan-2006 millert

Add comments to show which printf/scanf formats match which types


# 1.8 15-Jan-2006 millert

Update {PRN,SCN}*PTR defines to match types changes


# 1.7 13-Jan-2006 millert

Add lldiv(), imaxabs(), imaxdiv(), strtoimax() and strtoumax()


# 1.6 06-Jan-2006 millert

Add real C99 stdint.h and inttypes.h based on an initial version I did in
1997 (yes, really).


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE
# 1.5 17-Jun-2003 millert

Sync with share/misc/license.template and add missing DARPA credit
where applicable.


# 1.4 03-Jun-2003 millert

Use an ISC-tyle license for all my code; it is simpler and more permissive.


Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.3 07-Jan-1999 millert

move uint*_t to machine/types.h


Revision tags: OPENBSD_2_4_BASE
# 1.2 21-Jun-1998 millert

Remove the advertising clause in my old license, it impedes free use
of the code as a large number of similar clauses makes it impossible
to write an ad for a product using the code...


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE
# 1.1 18-Aug-1997 millert

inttypes.h as required by XPG4.2. Nothing uses this yet and all in-tree
sources should use the BSD-style types anyway.


# 1.13 25-Jan-2019 millert

I am retiring my old email address; replace it with my OpenBSD one.


# 1.12 22-Nov-2018 guenther

Our *int_fast{8,16}_t types are int/unsigned int, so SCN*FAST{8,16}
shouldn't include 'hh' or 'h'.

problem noted by Andreas Kusalananda K��h��ri (andreas.kahari(at)abc.se)
ok deraadt@ martijn@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.11 11-Jun-2013 matthew

Contrary to C99's advice, C++ TR1 and C++ 11 require that <inttypes.h>
and <stdint.h> should unconditionally define all of their macros
regardless of whether the __STDC_*_MACROS macros are defined.

ok guenther, espie
bulk build tested by landry


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.10 13-Jan-2009 kettenis

Add wcstoimax(3) and wcstoumax(3).

ok miod@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.9 15-Jan-2006 millert

Add comments to show which printf/scanf formats match which types


# 1.8 15-Jan-2006 millert

Update {PRN,SCN}*PTR defines to match types changes


# 1.7 13-Jan-2006 millert

Add lldiv(), imaxabs(), imaxdiv(), strtoimax() and strtoumax()


# 1.6 06-Jan-2006 millert

Add real C99 stdint.h and inttypes.h based on an initial version I did in
1997 (yes, really).


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE
# 1.5 17-Jun-2003 millert

Sync with share/misc/license.template and add missing DARPA credit
where applicable.


# 1.4 03-Jun-2003 millert

Use an ISC-tyle license for all my code; it is simpler and more permissive.


Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.3 07-Jan-1999 millert

move uint*_t to machine/types.h


Revision tags: OPENBSD_2_4_BASE
# 1.2 21-Jun-1998 millert

Remove the advertising clause in my old license, it impedes free use
of the code as a large number of similar clauses makes it impossible
to write an ad for a product using the code...


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE
# 1.1 18-Aug-1997 millert

inttypes.h as required by XPG4.2. Nothing uses this yet and all in-tree
sources should use the BSD-style types anyway.


# 1.12 22-Nov-2018 guenther

Our *int_fast{8,16}_t types are int/unsigned int, so SCN*FAST{8,16}
shouldn't include 'hh' or 'h'.

problem noted by Andreas Kusalananda K��h��ri (andreas.kahari(at)abc.se)
ok deraadt@ martijn@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.11 11-Jun-2013 matthew

Contrary to C99's advice, C++ TR1 and C++ 11 require that <inttypes.h>
and <stdint.h> should unconditionally define all of their macros
regardless of whether the __STDC_*_MACROS macros are defined.

ok guenther, espie
bulk build tested by landry


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.10 13-Jan-2009 kettenis

Add wcstoimax(3) and wcstoumax(3).

ok miod@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.9 15-Jan-2006 millert

Add comments to show which printf/scanf formats match which types


# 1.8 15-Jan-2006 millert

Update {PRN,SCN}*PTR defines to match types changes


# 1.7 13-Jan-2006 millert

Add lldiv(), imaxabs(), imaxdiv(), strtoimax() and strtoumax()


# 1.6 06-Jan-2006 millert

Add real C99 stdint.h and inttypes.h based on an initial version I did in
1997 (yes, really).


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE
# 1.5 17-Jun-2003 millert

Sync with share/misc/license.template and add missing DARPA credit
where applicable.


# 1.4 03-Jun-2003 millert

Use an ISC-tyle license for all my code; it is simpler and more permissive.


Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.3 07-Jan-1999 millert

move uint*_t to machine/types.h


Revision tags: OPENBSD_2_4_BASE
# 1.2 21-Jun-1998 millert

Remove the advertising clause in my old license, it impedes free use
of the code as a large number of similar clauses makes it impossible
to write an ad for a product using the code...


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE
# 1.1 18-Aug-1997 millert

inttypes.h as required by XPG4.2. Nothing uses this yet and all in-tree
sources should use the BSD-style types anyway.


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.11 11-Jun-2013 matthew

Contrary to C99's advice, C++ TR1 and C++ 11 require that <inttypes.h>
and <stdint.h> should unconditionally define all of their macros
regardless of whether the __STDC_*_MACROS macros are defined.

ok guenther, espie
bulk build tested by landry


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.10 13-Jan-2009 kettenis

Add wcstoimax(3) and wcstoumax(3).

ok miod@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.9 15-Jan-2006 millert

Add comments to show which printf/scanf formats match which types


# 1.8 15-Jan-2006 millert

Update {PRN,SCN}*PTR defines to match types changes


# 1.7 13-Jan-2006 millert

Add lldiv(), imaxabs(), imaxdiv(), strtoimax() and strtoumax()


# 1.6 06-Jan-2006 millert

Add real C99 stdint.h and inttypes.h based on an initial version I did in
1997 (yes, really).


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE
# 1.5 17-Jun-2003 millert

Sync with share/misc/license.template and add missing DARPA credit
where applicable.


# 1.4 03-Jun-2003 millert

Use an ISC-tyle license for all my code; it is simpler and more permissive.


Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.3 07-Jan-1999 millert

move uint*_t to machine/types.h


Revision tags: OPENBSD_2_4_BASE
# 1.2 21-Jun-1998 millert

Remove the advertising clause in my old license, it impedes free use
of the code as a large number of similar clauses makes it impossible
to write an ad for a product using the code...


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE
# 1.1 18-Aug-1997 millert

inttypes.h as required by XPG4.2. Nothing uses this yet and all in-tree
sources should use the BSD-style types anyway.