Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0000936 [1003.1(2013)/Issue7+TC1] System Interfaces Editorial Enhancement Request 2015-04-11 00:45 2019-06-10 08:54
Reporter alanc View Status public  
Assigned To
Priority normal Resolution Accepted As Marked  
Status Closed  
Name Alan Coopersmith
Organization Oracle
User Reference
Section fprintf(), fwprintf(), fscanf(), fwscanf()
Page Number 912, 944, 988, 998
Line Number 30677, 31867, 33389, 33749
Interp Status ---
Final Accepted Text see Note: 0002675
Summary 0000936: fprintf() & fscanf() should reference <inttypes.h> macros
Description C99 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 Action http://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.
Tags tc2-2008
Attached Files

- Relationships

-  Notes
(0002675)
rhansen (manager)
2015-05-21 16:23

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 Note: 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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker