public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* index.3 wcsnlen.3  proposals
@ 2011-09-20 23:03 Jon Grant
       [not found] ` <4E791BB2.4040809-hus3n9K41k0@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Grant @ 2011-09-20 23:03 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hello

Some feedback below. Great new release!

I saw in index.3:

http://man7.org/linux/man-pages/online/pages/man3/index.3.html

Some use of "NULL" to mean the Nul terminating byte. I suggest to change 
from NULL, as that means (void*)0;

Current text:
"The terminating NULL character is considered to be a part of the strings."

Proposal:

"The terminating NUL character '\0' is considered to be a part of the 
strings. A user call with c=0 to find the end of the string."


http://man7.org/linux/man-pages/online/pages/man3/wcsnlen.3.html

I think worth clarifying "maxlen" is in wide-char units, not bytes.

Current text:

"but at most maxlen"

Proposal:
"but at most maxlen wide characters (note, this parameter is not a byte 
count)"


Best regards, Jon
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-21  5:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-20 23:03 index.3 wcsnlen.3 proposals Jon Grant
     [not found] ` <4E791BB2.4040809-hus3n9K41k0@public.gmane.org>
2011-09-21  5:05   ` Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox