https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249025
Bug ID: 249025 Summary: description of scanf %u incorrectly says "optionally signed" Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Manual Pages Assignee: b...@freebsd.org Reporter: w...@psr.com CC: d...@freebsd.org I believe the description of %u in man3/scanf.3, which says that %u matches an OPTIONALLY SIGNED decimal integer, is incorrect. If you agree, the following "diff -u" 1-line patch to the man3/scanf.3 file from 12.1-RELEASE-p8 should fix the problem. If this error is in 12.1, it's probably in other versions of FreeBSD as well. <pre> --- scanf.3~ 2020-08-30 20:59:00.080775000 -0400 +++ scanf.3 2020-08-30 21:00:37.400650000 -0400 @@ -296,7 +296,7 @@ the next pointer must be a pointer to .Vt "unsigned int" . .It Cm u -Matches an optionally signed decimal integer; +Matches an unsigned decimal integer; the next pointer must be a pointer to .Vt "unsigned int" . .It Cm x , X </pre> -WBE -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ freebsd-doc@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "freebsd-doc-unsubscr...@freebsd.org"