From: Alejandro Colomar Date: Tue, 19 Dec 2023 12:23:14 +0000 (+0100) Subject: strtol.3, strtoul.3: If the base is not supported, endptr may be left untouched X-Git-Tag: man-pages-6.06~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=722e9f032d020596c742cc61dc8a5008f768c994;p=thirdparty%2Fman-pages.git strtol.3, strtoul.3: If the base is not supported, endptr may be left untouched Signed-off-by: Alejandro Colomar --- diff --git a/man3/strtol.3 b/man3/strtol.3 index 8ea93cb596..c05eac0ece 100644 --- a/man3/strtol.3 +++ b/man3/strtol.3 @@ -71,6 +71,9 @@ forth, with \[aq]Z\[aq] representing 35.) If .I endptr is not NULL, +and the +.I base +is supported, .BR strtol () stores the address of the first invalid character in diff --git a/man3/strtoul.3 b/man3/strtoul.3 index 32bd36dfc4..09b1a7cac9 100644 --- a/man3/strtoul.3 +++ b/man3/strtoul.3 @@ -77,6 +77,9 @@ forth, with \[aq]Z\[aq] representing 35.) If .I endptr is not NULL, +and the +.I base +is supported, .BR strtoul () stores the address of the first invalid character in