A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1834 ====================================================================== Reported By: Don Cragun Assigned To: ====================================================================== Project: 1003.1(2024)/Issue8 Issue ID: 1834 Category: System Interfaces Type: Error Severity: Editorial Priority: normal Status: New Name: Don Cragun Organization: User Reference: Section: strlen() & wcslen() Page Number: 2147, 2380 Line Number: 70218-70220, 77131-77134 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2024-06-20 00:26 UTC Last Modified: 2024-07-11 15:54 UTC ====================================================================== Summary: strnlen() & wcsnlen() descriptions use of "terminating" NUL character ======================================================================
---------------------------------------------------------------------- (0006832) eblake (manager) - 2024-07-11 15:54 https://austingroupbugs.net/view.php?id=1834#c6832 ---------------------------------------------------------------------- Summarizing https://austingroupbugs.net/view.php?id=1834#c6831, it would be nice if the C wording for strnlen() copied the C23 requirement on memchr("", 0, SIZE_MAX) reliably returning the first argument since "The implementation shall behave as if it reads the characters sequentially and stops as soon as a matching character is found." Issue History Date Modified Username Field Change ====================================================================== 2024-06-20 00:26 Don Cragun New Issue 2024-06-20 00:26 Don Cragun Name => Don Cragun 2024-06-20 00:26 Don Cragun Section => strlen() & wcslen() 2024-06-20 00:26 Don Cragun Page Number => 2147, 2380 2024-06-20 00:26 Don Cragun Line Number => 70218-70220, 77131-77134 2024-06-20 00:26 Don Cragun Interp Status => --- 2024-06-20 00:38 Don Cragun Description Updated 2024-06-20 00:38 Don Cragun Desired Action Updated 2024-06-20 11:15 geoffclare Note Added: 0006820 2024-06-20 14:30 Don Cragun Note Added: 0006821 2024-06-20 14:32 Don Cragun Note Edited: 0006821 2024-06-20 14:57 geoffclare Note Added: 0006822 2024-06-20 15:33 Don Cragun Note Added: 0006823 2024-06-20 18:22 eblake Note Added: 0006824 2024-06-21 15:24 nick File Added: n3252b.pdf 2024-06-21 15:28 nick Note Added: 0006830 2024-07-10 01:31 eblake Note Added: 0006831 2024-07-11 15:54 eblake Note Added: 0006832 ======================================================================