View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000936 | 1003.1(2013)/Issue7+TC1 | System Interfaces | public | 2015-04-11 00:45 | 2019-06-10 08:54 |
Reporter | alanc | Assigned To | |||
Priority | normal | Severity | Editorial | Type | Enhancement Request |
Status | Closed | Resolution | Accepted As Marked | ||
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 0000936: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 |
|
Add <inttypes.h> to the SEE ALSO section for the following functions:
|
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 |