]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
strtol.3, strtoul.3: If the base is not supported, endptr may be left untouched
authorAlejandro Colomar <alx@kernel.org>
Tue, 19 Dec 2023 12:23:14 +0000 (13:23 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 19 Dec 2023 12:23:14 +0000 (13:23 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man3/strtol.3
man3/strtoul.3

index 8ea93cb596c8f0d6e76cadceb74fd143ed7f2453..c05eac0ece18abae2f97e9c0eb44f84281aa521f 100644 (file)
@@ -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
index 32bd36dfc43857f3166fa8fd4f62c526315dcde1..09b1a7cac9a07c5a65c98829c69227f0158bb396 100644 (file)
@@ -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