Skip to contentSkip to conversation

strtol.3 man-page bug

PATCH Ivana Hutarova Varekova 1 participant 1 message Jan 21, 2011 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

Hello,
there is wrong statement regarding the characters which are parsed in the input string:

"In locales other than the "C" locale, other strings may also be accepted. (For example, the thousands separator of the current locale may be supported.)"

It is not possible to use other strings - see stdlib/strtol_l.c in glibc. The patch is attached. Ivana Hutarova Varekova

man3/strtol.3 renamed from man3/strtol.3.pom +0 -3
diff -up man-pages-3.32/man3/strtol.3.pom man-pages-3.32/man3/strtol.3
@@ -158,9 +158,6 @@ and then determine if an error occurred 
 .I errno
 has a nonzero value after the call.
 
-In locales other than the "C" locale, other strings may also be accepted.
-(For example, the thousands separator of the current locale may be
-supported.)
 .LP
 BSD also has
 .sp