Re: memcmp and strcmp man page duplication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jon,

On Fri, Nov 23, 2012 at 2:01 PM, Jon Grant <jg@xxxxxxxx> wrote:
> Hello
>
> http://man7.org/linux/man-pages/man3/memcmp.3.html
>
> "DESCRIPTION" section contains a duplicate description of the "RETURN
> VALUE" section. My suggestion would be to ask if the "DESCRIPTION"
> section should be reduced.
>
> http://man7.org/linux/man-pages/man3/strcmp.3.html
> ^ Also same duplication.

Thanks for noting this. I've fixed the problem you note in these two apges.

> Pages that are fine:
> http://man7.org/linux/man-pages/man3/wmemcmp.3.html
> http://man7.org/linux/man-pages/man3/wcsncmp.3.html
> http://man7.org/linux/man-pages/man3/wcscmp.3.html
>
>
> Secondary feedback is that I found the return value description a
> little wordy. Would be clearer to simply say:
> "
> <0: less than n bytes of s2 matched
>  0: n bytes of s1 and s2 are matched.
>>0: s1 is greater than the first n bytes of s2
> "

I'm not too worried about this though, so I'll leave it.

Cheers,

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux