Anonymous | Login | 2024-04-18 02:58 UTC |
Main | My View | View Issues | Change Log | Docs |
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 | |||||||
|
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 |