View Issue Details

IDProjectCategoryView StatusLast Update
00019121003.1(2024)/Issue8System Interfacespublic2025-03-13 19:32
Reporterlanodan Assigned To 
PrioritynormalSeverityEditorialTypeOmission
Status Interpretation RequiredResolutionAccepted As Marked 
NameHaelwenn (lanodan) Monnier
Organization
User Reference
Sectionsysconf
Page Number2199
Line Number71772
Interp StatusProposed
Final Accepted Text0001912:0007113
Summary0001912: sysconf lacks variable for {CHARCLASS_NAME_MAX}
Descriptionhttps://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 ActionIn System Interfaces > sysconf table of values add the following entry:
- Variable: {CHARCLASS_NAME_MAX}
- Value of Name: {_SC_CHARCLASS_NAME_MAX}
Tagstc1-2024

Activities

geoffclare

2025-03-11 12:41

manager   bugnote:0007108

I have moved this to the Issue 8 project, as it affects the PDF not just the HTML translation.

geoffclare

2025-03-11 12:47

manager   bugnote:0007109

_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.

geoffclare

2025-03-13 15:36

manager   bugnote:0007113

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 |

agadmin

2025-03-13 19:32

administrator   bugnote:0007118

Interpretation Proposed: 13 March 2025

Issue History

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