diff options
author | Giles Lean <giles.lean@pobox.com> | 2010-04-06 10:28:55 -0700 |
---|---|---|
committer | Giles Lean <giles.lean@pobox.com> | 2010-04-06 10:28:55 -0700 |
commit | 722e1e4797b51df8a2062d9f28c03e3836d2f411 (patch) | |
tree | a630c87269a470bc7bb8873629937bb604efc3c2 /include | |
parent | dba1f0ca0ff5d423660be58ffedc8fe0ced67a95 (diff) | |
download | golang-722e1e4797b51df8a2062d9f28c03e3836d2f411.tar.gz |
syscall package: document that errno is zeroed on success
This is a documentation enhancement only, without any code
change.
The rationale for documenting this precisely is that Unix
programmers who "know" that errno's value is undefined after
a successful system call may be surprised otherwise and
search to be sure that a zero errno may be relied upon after
successful calls.
R=r, rsc1, rsc
CC=golang-dev
http://codereview.appspot.com/812044
Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions