Skip to contentSkip to conversation

Link to some less-known string functions

PATCH In review Petr Baudis 2 participants 4 messages Apr 15, 2009 – Apr 21, 2009 2 messages not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Link to some less-known string functions

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

man3/ffs.3 +2 -1
index 95c8924..dae8e03 100644
@@ -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)
man3/memchr.3 +2 -1
index f98eaf7..b9bb8ae 100644
@@ -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)
man3/strcmp.3 +2 -1
index 0304a85..8814fdd 100644
@@ -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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 5 lines · Petr Baudis

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

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,

Signature · 7 lines
				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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 10 lines · Petr Baudis
Quoted 5 lines · Petr Baudis

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

 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.

Signature · 9 lines
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#5 lore raw
In reply to a message not in the archive

Hi Petr,

Quoted 3 lines · Petr Baudis

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

Quoted 36 lines
man3/ffs.3 +0 -0
index 95c8924..dae8e03 100644
@@ -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)

man3/memchr.3 +2 -1
index f98eaf7..b9bb8ae 100644
@@ -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)
man3/strcmp.3 +2 -1
index 0304a85..8814fdd 100644
@@ -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)
Signature · 9 lines
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html