Date: Sat, 07 Jan 2017 00:46:59 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-doc@FreeBSD.org Subject: [Bug 215848] [patch] Ambiguity in returns for mbsrtowcs Message-ID: <bug-215848-9@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215848 Bug ID: 215848 Summary: [patch] Ambiguity in returns for mbsrtowcs Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Some People Priority: --- Component: Documentation Assignee: freebsd-doc@FreeBSD.org Reporter: andrew@ugh.net.au Keywords: patch Created attachment 178593 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D178593&action= =3Dedit diff to mbsrtowcs.3 It's not clear from the man pages of several multi-byte and wide character functions that, if you pass NULL as the destination, they return the number= of characters that would have been written where dst an actual array. I attach= a diff to fix one of them. I haven't done others because: a) I need to confirm which ones this is true for and b) I wasn't sure how great my wording was. If someone who knows more about this than I wants to make similar changes to other man pages then that is great. Otherwise, once final wording is decided upon, I might get time to test and submit more. I am using 11-stable r310981 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215848-9>