Re: [PATCH 2/3] strcmp.3: Reference strstr(3)

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


Hi Mark,

On Mon, Jun 1, 2009 at 3:15 PM, Mark Hills <mark@xxxxxxxxxxx> wrote:
> On Mon, 1 Jun 2009, Michael Kerrisk wrote:
>
>> Mark,
>>
>> Why do you think this patch is needed?
>
> I deemed that strstr() was relevant as the 'other' string comparison
> function, but didn't go as far as to reference character-based functions
> like strchr(). Apologies that the commit message didn't explain this.
>
> However, after sending the patch I was made aware of string(3). To make it
> easy to discover the string functions (as this patch intended to do) would
> it be more appropriate for all functions listed in string(3) to reference
> it?

The latter action seems best to e, and that's what I've done for
man-pages-3.27. Thanks for the report!

Thanks,

Michael


>> On Tue, Feb 29, 2028 at 9:35 AM, Mark Hills <mark@xxxxxxxxxxx> wrote:
>>>
>>> ---
>>>  man3/strcmp.3 |    3 ++-
>>>  1 files changed, 2 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/man3/strcmp.3 b/man3/strcmp.3
>>> index 4797e71..62d9cc6 100644
>>> --- a/man3/strcmp.3
>>> +++ b/man3/strcmp.3
>>> @@ -27,7 +27,7 @@
>>>  .\" Modified Sat Jul 24 18:08:52 1993 by Rik Faith (faith@xxxxxxxxxx)
>>>  .\" Modified 2001-08-31, aeb
>>>  .\"
>>> -.TH STRCMP 3  2009-04-21 "" "Linux Programmer's Manual"
>>> +.TH STRCMP 3  2009-05-09 "" "Linux Programmer's Manual"
>>>  .SH NAME
>>>  strcmp, strncmp \- compare two strings
>>>  .SH SYNOPSIS
>>> @@ -68,6 +68,7 @@ SVr4, 4.3BSD, C89, C99.
>>>  .BR strcasecmp (3),
>>>  .BR strcoll (3),
>>>  .BR strncasecmp (3),
>>> +.BR strstr (3),
>>>  .BR strverscmp (3),
>>>  .BR wcscmp (3),
>>>  .BR wcsncmp (3)
>>> --
>>> 1.6.2.4
>>>
>>>
>>
>>
>>
>>
>
> --
> Mark



-- 
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


[Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Memory]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]     [Linux Resources]

  Powered by Linux