View Issue Details

IDProjectCategoryView StatusLast Update
00009361003.1(2013)/Issue7+TC1System Interfacespublic2019-06-10 08:54
Reporteralanc Assigned To 
PrioritynormalSeverityEditorialTypeEnhancement Request
Status ClosedResolutionAccepted As Marked 
NameAlan Coopersmith
OrganizationOracle
User Reference
Sectionfprintf(), fwprintf(), fscanf(), fwscanf()
Page Number912, 944, 988, 998
Line Number30677, 31867, 33389, 33749
Interp Status---
Final Accepted Textsee 0000936:0002675
Summary0000936: fprintf() & fscanf() should reference <inttypes.h> macros
DescriptionC99 added the <inttypes.h> macros to simplify porting *scanf() and *printf()
function calls between platforms with different data types, such as ILP32 & LP64,
but there is no reference to those in the fprintf() and fscanf() definitions.
Desired Actionhttp://pubs.opengroup.org/onlinepubs/9699919799/functions/fprintf.html
http://pubs.opengroup.org/onlinepubs/9699919799/functions/fwprintf.html
http://pubs.opengroup.org/onlinepubs/9699919799/functions/fscanf.html and
http://pubs.opengroup.org/onlinepubs/9699919799/functions/fwscanf.html
should at least add
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/inttypes.h.html
to the See Also list, and preferably also a short reference/example in the
informative section that the <inttypes.h> header provides macros for
increased portability between platforms with different data types, such as
ILP32 & LP64.
Tagstc2-2008

Activities

rhansen

2015-05-21 16:23

manager   bugnote:0002675

Add <inttypes.h> to the SEE ALSO section for the following functions:
  • fprintf() page 912 line 30677
  • fscanf() page 944 line 31867
  • fwprintf() page 988 line 33389
  • fwscanf() page 998 line 33749

Issue History

Date Modified Username Field Change
2015-04-11 00:45 alanc New Issue
2015-04-11 00:45 alanc Name => Alan Coopersmith
2015-04-11 00:45 alanc Organization => Oracle
2015-04-11 00:45 alanc Section => fprintf(), fwprintf(), fscanf(), fwscanf()
2015-04-11 00:45 alanc Page Number => unknown
2015-04-11 00:45 alanc Line Number => unknown
2015-05-21 16:17 rhansen Page Number unknown => 912, 944, 988, 998
2015-05-21 16:17 rhansen Line Number unknown => 30676, 31866, 33388, 33748
2015-05-21 16:17 rhansen Interp Status => ---
2015-05-21 16:23 rhansen Note Added: 0002675
2015-05-21 16:24 rhansen Line Number 30676, 31866, 33388, 33748 => 30677, 31867, 33389, 33749
2015-05-21 16:24 rhansen Final Accepted Text => see 0000936:0002675
2015-05-21 16:24 rhansen Status New => Resolved
2015-05-21 16:24 rhansen Resolution Open => Accepted As Marked
2015-05-21 16:24 rhansen Tag Attached: tc2-2008
2019-06-10 08:54 agadmin Status Resolved => Closed