https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215848

            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: [email protected]
          Reporter: [email protected]
          Keywords: patch

Created attachment 178593
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=178593&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"

Reply via email to