View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001912 | 1003.1(2024)/Issue8 | System Interfaces | public | 2025-03-10 07:30 | 2025-03-13 19:32 |
Reporter | lanodan | Assigned To | |||
Priority | normal | Severity | Editorial | Type | Omission |
Status | Interpretation Required | Resolution | Accepted As Marked | ||
Name | Haelwenn (lanodan) Monnier | ||||
Organization | |||||
User Reference | |||||
Section | sysconf | ||||
Page Number | 2199 | ||||
Line Number | 71772 | ||||
Interp Status | Proposed | ||||
Final Accepted Text | 0001912:0007113 | ||||
Summary | 0001912: sysconf lacks variable for {CHARCLASS_NAME_MAX} | ||||
Description | https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/limits.h.html#tag_14_26_03_03 - <limits.h> ยง Runtime Increasable Values > The actual value supported by a specific instance shall be provided by the sysconf() function. And when checking it against https://pubs.opengroup.org/onlinepubs/9799919799/functions/sysconf.html only {CHARCLASS_NAME_MAX} is missing. | ||||
Desired Action | In System Interfaces > sysconf table of values add the following entry: - Variable: {CHARCLASS_NAME_MAX} - Value of Name: {_SC_CHARCLASS_NAME_MAX} | ||||
Tags | tc1-2024 |
|
I have moved this to the Issue 8 project, as it affects the PDF not just the HTML translation. |
|
_SC_CHARCLASS_NAME_MAX is also missing from <unistd.h>. Looking at the <limits.h> history, the original Issue 6 had {CHARCLASS_NAME_MAX} in both "Runtime Increasable Values" and "Other Invariant Values". Then Cor 2-2004 item XBD/TC2/D6/20 removed it from "Other Invariant Values". It appears the need to have it available from sysconf() was overlooked when this was done. |
|
Interpretation response ------------------------ The standard states the value of {CHARCLASS_NAME_MAX} shall be provided by the sysconf() function, and conforming implementations must conform to this. However, concerns have been raised about this which are being referred to the sponsor. Rationale: ------------- Applications cannot portably make use of this requirement since the standard does not specify the name of the constant to pass to sysconf(). Notes to the Editor (not part of this interpretation): ------------------------------------------------------- Before page 468 line 16409 section <unistd.h>, add: _SC_CHARCLASS_NAME_MAX Page 2199 before line 71772 section sysconf(), add | {CHARCLASS_NAME_MAX} | _SC_CHARCLASS_NAME_MAX | |
|
Interpretation Proposed: 13 March 2025 |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-03-10 07:30 | lanodan | New Issue | |
2025-03-11 12:40 | geoffclare | Project | Online Pubs => 1003.1(2024)/Issue8 |
2025-03-11 12:41 | geoffclare | Note Added: 0007108 | |
2025-03-11 12:47 | geoffclare | Note Added: 0007109 | |
2025-03-13 15:36 | geoffclare | Note Added: 0007113 | |
2025-03-13 16:19 | geoffclare | Status | New => Interpretation Required |
2025-03-13 16:19 | geoffclare | Resolution | Open => Accepted As Marked |
2025-03-13 16:19 | geoffclare | Page Number | => 2199 |
2025-03-13 16:19 | geoffclare | Line Number | => 71772 |
2025-03-13 16:19 | geoffclare | Interp Status | => Pending |
2025-03-13 16:19 | geoffclare | Final Accepted Text | => 0001912:0007113 |
2025-03-13 16:19 | geoffclare | Tag Attached: tc1-2024 | |
2025-03-13 19:32 | agadmin | Interp Status | Pending => Proposed |
2025-03-13 19:32 | agadmin | Note Added: 0007118 |