memrchr(3): depends on _GNU_SOURCE
At manual page (memchr, memrchr and rawmemchr) it is listed that only rawmemchr needs _GNU_SOURCE feature test macro. However, at least in /usr/include/string.h shipped with Debian Lenny and Ubuntu 9.04 both have also memrchr in same #ifdef __USE_GNU block.
Correction:
memchr.3 renamed from memchr.old +2 -0
@@ -46,6 +46,8 @@ .BR feature_test_macros (7)): .in .sp +.BR memrchr (): +_GNU_SOURCE .BR rawmemchr (): _GNU_SOURCE .SH DESCRIPTION
(or should them be at same line.)
t. Markus
--
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]
Hello Markus,
Quoted 20 lines · Markus Peuhkuri
At manual page (memchr, memrchr and rawmemchr) it is listed that only rawmemchr needs
_GNU_SOURCEfeature test macro. However, at least in/usr/include/string.hshipped with Debian Lenny and Ubuntu 9.04 both have also memrchr in same #ifdef__USE_GNUblock.Correction:
memchr.3 2009-11-25 15:31:39.000000000 +0200 renamed from memchr.old 2008-07-26 15:31:57.431082210 +0200 +0
-0@@ -46,6 +46,8 @@.BR
feature_test_macros(7)):
.in
.sp
+.BR memrchr ():
+_GNU_SOURCE
.BR rawmemchr ():
_GNU_SOURCE
.SH DESCRIPTION
Quoted 1 line
(or should them be at same line.)
Thanks for the report. Indeed, it should be at the same line. Fixed for 3.24.
Cheers,
Michael
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface" http://blog.man7.org/ -- 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