That's a guarantee made by POSIX. Reported-by: Jakub Wilk Cc: Florian Weimer Cc: Iker Pedrosa Cc: Michael Kerrisk Signed-off-by: Alejandro Colomar --- man3/strtol.3 | 3 +++ man3/strtoul.3 | 3 +++ 2 files changed, 6 insertions(+) diff --git a/man3/strtol.3 b/man3/strtol.3 index 01c658025..1f1f98216 100644 --- a/man3/strtol.3 +++ b/man3/strtol.3 @@ -124,6 +124,9 @@ .SH RETURN VALUE and .BR LONG_MAX ). .SH ERRORS +This function does not modify +.I errno +on success. .TP .B EINVAL (not in C99) diff --git a/man3/strtoul.3 b/man3/strtoul.3 index a01a1d8db..32bd36dfc 100644 --- a/man3/strtoul.3 +++ b/man3/strtoul.3 @@ -124,6 +124,9 @@ .SH RETURN VALUE instead of .BR ULONG_MAX ). .SH ERRORS +This function does not modify +.I errno +on success. .TP .B EINVAL (not in C99) -- 2.42.0