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

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

 



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?

Cheers,

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

[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