public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Jon Grant <jg-hus3n9K41k0@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: index.3 wcsnlen.3  proposals
Date: Wed, 21 Sep 2011 00:03:14 +0100	[thread overview]
Message-ID: <4E791BB2.4040809@jguk.org> (raw)

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

             reply	other threads:[~2011-09-20 23:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-20 23:03 Jon Grant [this message]
     [not found] ` <4E791BB2.4040809-hus3n9K41k0@public.gmane.org>
2011-09-21  5:05   ` index.3 wcsnlen.3 proposals Michael Kerrisk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E791BB2.4040809@jguk.org \
    --to=jg-hus3n9k41k0@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox