strtol.3 man-page bug
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
@@ -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