public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Link to some less-known string functions
@ 2009-04-15 11:13 Petr Baudis
       [not found] ` <20090415111300.GM8940-DDGJ70k9y3lX+M3pkMnKjw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Petr Baudis @ 2009-04-15 11:13 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Some string functions are almost unknown, yet might be useful.
This adds ffs(3) to SEE ALSO section of memchr(3) and strverscmp(3)
to SEE ALSO section of strcmp(3).

Signed-off-by: Petr Baudis <pasky-AlSwsSmVLrQ@public.gmane.org>

diff --git a/man3/ffs.3 b/man3/ffs.3
index 95c8924..dae8e03 100644
--- a/man3/ffs.3
+++ b/man3/ffs.3
@@ -68,4 +68,5 @@ or 0 if no bits are set in
 BSD systems have a prototype in
 .IR <string.h> .
 .SH "SEE ALSO"
-.BR feature_test_macros (7)
+.BR feature_test_macros (7),
+.BR memchr (3)
diff --git a/man3/memchr.3 b/man3/memchr.3
index f98eaf7..b9bb8ae 100644
--- a/man3/memchr.3
+++ b/man3/memchr.3
@@ -135,4 +135,5 @@ function is a GNU extension, available since glibc 2.1.
 .BR strsep (3),
 .BR strspn (3),
 .BR strstr (3),
-.BR wmemchr (3)
+.BR wmemchr (3),
+.BR ffs (3)
diff --git a/man3/strcmp.3 b/man3/strcmp.3
index 0304a85..8814fdd 100644
--- a/man3/strcmp.3
+++ b/man3/strcmp.3
@@ -69,4 +69,5 @@ SVr4, 4.3BSD, C89, C99.
 .BR strcoll (3),
 .BR strncasecmp (3),
 .BR wcscmp (3),
-.BR wcsncmp (3)
+.BR wcsncmp (3),
+.BR strverscmp (3)
--
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 related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Link to some less-known string functions
       [not found] ` <20090415111300.GM8940-DDGJ70k9y3lX+M3pkMnKjw@public.gmane.org>
@ 2009-04-15 11:25   ` Petr Baudis
       [not found]     ` <20090415112557.GG21271-DDGJ70k9y3lX+M3pkMnKjw@public.gmane.org>
  2009-04-21  4:25   ` Michael Kerrisk
  1 sibling, 1 reply; 4+ messages in thread
From: Petr Baudis @ 2009-04-15 11:25 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

On Wed, Apr 15, 2009 at 01:13:00PM +0200, Petr Baudis wrote:
> Some string functions are almost unknown, yet might be useful.
> This adds ffs(3) to SEE ALSO section of memchr(3) and strverscmp(3)
> to SEE ALSO section of strcmp(3).
> 
> Signed-off-by: Petr Baudis <pasky-AlSwsSmVLrQ@public.gmane.org>

  Oops, I guess the SEE ALSO lists are alphabetically ordered (and you
might even tell me before ;-). Will you fix it up or should I submit
a new patch?

  Sorry,

-- 
				Petr "Pasky" Baudis
The average, healthy, well-adjusted adult gets up at seven-thirty
in the morning feeling just terrible. -- Jean Kerr
--
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] 4+ messages in thread

* Re: [PATCH] Link to some less-known string functions
       [not found]     ` <20090415112557.GG21271-DDGJ70k9y3lX+M3pkMnKjw@public.gmane.org>
@ 2009-04-16  4:48       ` Michael Kerrisk
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Kerrisk @ 2009-04-16  4:48 UTC (permalink / raw)
  To: Petr Baudis; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

On Wed, Apr 15, 2009 at 11:25 PM, Petr Baudis <pasky-AlSwsSmVLrQ@public.gmane.org> wrote:
> On Wed, Apr 15, 2009 at 01:13:00PM +0200, Petr Baudis wrote:
>> Some string functions are almost unknown, yet might be useful.
>> This adds ffs(3) to SEE ALSO section of memchr(3) and strverscmp(3)
>> to SEE ALSO section of strcmp(3).
>>
>> Signed-off-by: Petr Baudis <pasky-AlSwsSmVLrQ@public.gmane.org>
>
>  Oops, I guess the SEE ALSO lists are alphabetically ordered (and you
> might even tell me before ;-). Will you fix it up or should I submit
> a new patch?

No problem.  I'll fix it.


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
git://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html
--
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] 4+ messages in thread

* Re: [PATCH] Link to some less-known string functions
       [not found] ` <20090415111300.GM8940-DDGJ70k9y3lX+M3pkMnKjw@public.gmane.org>
  2009-04-15 11:25   ` Petr Baudis
@ 2009-04-21  4:25   ` Michael Kerrisk
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Kerrisk @ 2009-04-21  4:25 UTC (permalink / raw)
  To: Petr Baudis; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hi Petr,

On Wed, Apr 15, 2009 at 1:13 PM, Petr Baudis <pasky-AlSwsSmVLrQ@public.gmane.org> wrote:
> Some string functions are almost unknown, yet might be useful.
> This adds ffs(3) to SEE ALSO section of memchr(3) and strverscmp(3)
> to SEE ALSO section of strcmp(3).

Thanks.  Applied (as three commits) for man-pages-3.22.

Cheers,

Michael


> Signed-off-by: Petr Baudis <pasky-AlSwsSmVLrQ@public.gmane.org>
>
> diff --git a/man3/ffs.3 b/man3/ffs.3
> index 95c8924..dae8e03 100644
> --- a/man3/ffs.3
> +++ b/man3/ffs.3
> @@ -68,4 +68,5 @@ or 0 if no bits are set in
>  BSD systems have a prototype in
>  .IR <string.h> .
>  .SH "SEE ALSO"
> -.BR feature_test_macros (7)
> +.BR feature_test_macros (7),
> +.BR memchr (3)
> diff --git a/man3/memchr.3 b/man3/memchr.3
> index f98eaf7..b9bb8ae 100644
> --- a/man3/memchr.3
> +++ b/man3/memchr.3
> @@ -135,4 +135,5 @@ function is a GNU extension, available since glibc 2.1.
>  .BR strsep (3),
>  .BR strspn (3),
>  .BR strstr (3),
> -.BR wmemchr (3)
> +.BR wmemchr (3),
> +.BR ffs (3)
> diff --git a/man3/strcmp.3 b/man3/strcmp.3
> index 0304a85..8814fdd 100644
> --- a/man3/strcmp.3
> +++ b/man3/strcmp.3
> @@ -69,4 +69,5 @@ SVr4, 4.3BSD, C89, C99.
>  .BR strcoll (3),
>  .BR strncasecmp (3),
>  .BR wcscmp (3),
> -.BR wcsncmp (3)
> +.BR wcsncmp (3),
> +.BR strverscmp (3)
>



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
git://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html
--
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] 4+ messages in thread

end of thread, other threads:[~2009-04-21  4:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-15 11:13 [PATCH] Link to some less-known string functions Petr Baudis
     [not found] ` <20090415111300.GM8940-DDGJ70k9y3lX+M3pkMnKjw@public.gmane.org>
2009-04-15 11:25   ` Petr Baudis
     [not found]     ` <20090415112557.GG21271-DDGJ70k9y3lX+M3pkMnKjw@public.gmane.org>
2009-04-16  4:48       ` Michael Kerrisk
2009-04-21  4:25   ` Michael Kerrisk

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