View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001987 | 1003.1(2024)/Issue8 | Base Definitions and Headers | public | 2026-06-22 12:54 | 2026-07-20 15:36 |
| Reporter | dannyniu | Assigned To | msbrown | ||
| Priority | normal | Severity | Editorial | Type | Omission |
| Status | Resolution Proposed | Resolution | Future Enhancement | ||
| Name | DannyNiu/NJF | ||||
| Organization | |||||
| User Reference | |||||
| Section | TCP_NODELAY | ||||
| Page Number | 323 | ||||
| Line Number | 11353 | ||||
| Interp Status | Proposed | ||||
| Final Accepted Text | 0001987:0007446 | ||||
| Summary | 0001987: The option value type for TCP_NODELAY is not specified. | ||||
| Description | The option value type for TCP_NODELAY is not specified. This seem to be the case since at least Issue 6. Many other options have types of rank `int`, and their Windows counterparts often have DWORD or similar, as such I believe the type for this option value is most likely also `int`, rather than `_Bool` which may have issue with ABI compatibility. | ||||
| Desired Action | Clarify that the option value type for TCP_NODELAY is `int`. | ||||
| Tags | issue9 | ||||
|
|
Interpretation response ------------------------ The standard is unclear on this issue, and no conformance distinction can be made between alternative implementations based on this. This is being referred to the sponsor. Rationale: ------------- As described, the value is unspecified, with no definitive definition at this time. This will be pursued in the next edition. Notes to the Editor (not part of this interpretation): ------------------------------------------------------- On page 323, after line 11353, add the following line: The value associated with TCP_NODELAY shall have an integer type with the rank of int, acting as a flag with either a zero (unset) or non-zero (set) value. |
|
|
Re https://www.austingroupbugs.net/view.php?id=1987#c7446 > TCP_NODELAY shall be of __integer__ rank You mean "shall be of rank `int`"? |
|
|
According to my research: In the C standard, integer conversion rank is a property of a type, not of a value Alternate proposal: The value associated with TCP_NODELAY shall have an integer type with the rank of int, acting as a flag with either a zero (unset) or non-zero (set) value. |
|
|
Bugnote 0001987:0007446 has been updated to include the wording as proposed in 0001987:0007451. |
|
|
Interpretation proposed: 20 July 2026 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-06-22 12:54 | dannyniu | New Issue | |
| 2026-07-02 16:25 | msbrown | Assigned To | => msbrown |
| 2026-07-02 16:25 | msbrown | Status | New => Resolution Proposed |
| 2026-07-02 16:25 | msbrown | Resolution | Open => Future Enhancement |
| 2026-07-02 16:25 | msbrown | Interp Status | => Pending |
| 2026-07-02 16:25 | msbrown | Note Added: 0007446 | |
| 2026-07-02 16:25 | msbrown | Tag Attached: issue9 | |
| 2026-07-02 16:25 | msbrown | Resolution | Future Enhancement => Accepted As Marked |
| 2026-07-02 16:27 | msbrown | Resolution | Accepted As Marked => Future Enhancement |
| 2026-07-02 23:35 | dannyniu | Note Added: 0007447 | |
| 2026-07-13 09:11 | agadmin | Note Added: 0007451 | |
| 2026-07-20 15:17 | agadmin | Note Edited: 0007446 | |
| 2026-07-20 15:18 | agadmin | Note Added: 0007457 | |
| 2026-07-20 15:19 | agadmin | Interp Status | Pending => Proposed |
| 2026-07-20 15:19 | agadmin | Final Accepted Text | => 0001987:0007446 |
| 2026-07-20 15:19 | agadmin | Note Added: 0007458 | |
| 2026-07-20 15:24 | msbrown | Note Edited: 0007457 | |
| 2026-07-20 15:27 | msbrown | Note Edited: 0007457 | |
| 2026-07-20 15:27 | msbrown | Note Edited: 0007457 | |
| 2026-07-20 15:35 | msbrown | Note Edited: 0007457 | |
| 2026-07-20 15:35 | msbrown | Note Edited: 0007457 | |
| 2026-07-20 15:36 | msbrown | Note Edited: 0007457 |