Anonymous | Login | 2024-04-24 07:28 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 | ||
0000892 | [1003.1(2013)/Issue7+TC1] System Interfaces | Editorial | Omission | 2014-11-13 23:53 | 2019-06-10 08:54 | ||
Reporter | safinaskar | View Status | public | ||||
Assigned To | |||||||
Priority | normal | Resolution | Accepted As Marked | ||||
Status | Closed | ||||||
Name | Askar Safin | ||||||
Organization | |||||||
User Reference | |||||||
Section | atol, atoll | ||||||
Page Number | posix 2008, 2013 edition, page 618 | ||||||
Line Number | 21127 - 21129 | ||||||
Interp Status | --- | ||||||
Final Accepted Text | Note: 0002548 | ||||||
Summary | 0000892: You forget atoll | ||||||
Description |
-The atol( ) function is subsumed by strtol( ) but is retained because it is used extensively in -existing code. If the number is not known to be in range, strtol( ) should be used because atol( ) is -not required to perform any error checking. +The atol( ) function is subsumed by strtol( ) (and atoll( ) by strtoll( )) but is retained because it is used extensively in +existing code. If the number is not known to be in range, strtol( ) (strtoll( )) should be used because atol( ) (atoll( )) is +not required to perform any error checking. Also, I think it is good idea to merge atof, atoi, atol and atoll articles to one article. Also, I don't see why atoll argument is named nptr (unlike atol argument), so, I think it should be renamed to str. |
||||||
Desired Action | Fix... | ||||||
Tags | tc2-2008 | ||||||
Attached Files | |||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2014-11-13 23:53 | safinaskar | New Issue | |
2014-11-13 23:53 | safinaskar | Name | => Askar Safin |
2014-11-13 23:53 | safinaskar | Section | => atol, atoll |
2014-11-13 23:53 | safinaskar | Page Number | => posix 2008, 2013 edition, page 618 |
2014-11-13 23:53 | safinaskar | Line Number | => 21127 - 21129 |
2015-02-19 17:21 | geoffclare | Note Added: 0002548 | |
2015-02-19 17:23 | geoffclare | Interp Status | => --- |
2015-02-19 17:23 | geoffclare | Final Accepted Text | => Note: 0002548 |
2015-02-19 17:23 | geoffclare | Status | New => Resolved |
2015-02-19 17:23 | geoffclare | Resolution | Open => Accepted As Marked |
2015-02-19 17:24 | geoffclare | Tag Attached: tc2-2008 | |
2015-02-19 18:03 | eblake | Note Added: 0002549 | |
2019-06-10 08:54 | agadmin | Status | Resolved => Closed |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |