This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug manual/22615] New: manual: ambiguous wording about errno value in case of success
- From: "aurelien at aurel32 dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 16 Dec 2017 12:34:35 +0000
- Subject: [Bug manual/22615] New: manual: ambiguous wording about errno value in case of success
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22615
Bug ID: 22615
Summary: manual: ambiguous wording about errno value in case of
success
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: manual
Assignee: unassigned at sourceware dot org
Reporter: aurelien at aurel32 dot net
CC: mtk.manpages at gmail dot com
Target Milestone: ---
The glibc manual, section "Checking for Errors" says:
"These functions do not change errno when they succeed; thus, the value of
errno after a successful call is not necessarily zero, and you should not use
errno to determine whether a call failed."
While this is true that functions do not set errno to 0 when they succeed, they
might set it to another value.
See bug #22611 and
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?pageId=87152351 for
more details.
--
You are receiving this mail because:
You are on the CC list for the bug.