]> git.ipfire.org Git - thirdparty/glibc.git/commit
manual: clarify errno value on success [BZ #22615]
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 29 Dec 2017 13:44:57 +0000 (14:44 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 29 Dec 2017 13:44:57 +0000 (14:44 +0100)
commit54e4efc2876b329ba80a6965a2583a906d99e694
tree3a08ae64156c80cf1cca5d397245a25bb93226ac
parentf8aa69be445f65bb36cb3ae9291423600da7d6d2
manual: clarify errno value on success [BZ #22615]

The current glibc manual is ambiguous about the errno value on success
and suggests that it is left unchanged. Some functions might and
sometimes do change the errno value, however they never set it to 0.

This patch from Zack Weinberg clarifies this section of the manual.

Changelog:
[BZ #22615]
* manual/errno.texi (Checking for Errors): Explicitly say that errno
might be set on success.
ChangeLog
manual/errno.texi