diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-03-25 22:46:53 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-03-25 22:46:53 +0100 |
commit | 5bb40f9df02c3395b198f254fdd43e7468b5ceee (patch) | |
tree | 91a912f900fba7153660cb49c163407e8aeac091 /libguile/net_db.c | |
parent | 570fdeceacaad7f6e928123f40e8bb5f72677dcb (diff) | |
download | guile-5bb40f9df02c3395b198f254fdd43e7468b5ceee.tar.gz |
getaddrinfo: Document the missing errno value for EAI_SYSTEM.
In response to <http://bugs.gnu.org/13958>.
Reported by Lluís Batlle i Rossell <viric@viric.name>.
* doc/ref/posix.texi (Network Databases): Document the missing errno
value for EAI_SYSTEM.
* libguile/net_db.c (scm_getaddrinfo): Likewise.
Diffstat (limited to 'libguile/net_db.c')
-rw-r--r-- | libguile/net_db.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libguile/net_db.c b/libguile/net_db.c index 95f0040da..d7a12c50f 100644 --- a/libguile/net_db.c +++ b/libguile/net_db.c @@ -595,8 +595,10 @@ SCM_DEFINE (scm_getaddrinfo, "getaddrinfo", 1, 5, 0, "@item EAI_SOCKTYPE\n" "@var{hint_socktype} was not recognized.\n\n" "@item EAI_SYSTEM\n" - "A system error occurred; the error code can be found in " - "@code{errno}.\n" + "A system error occurred. In C, the error code can be found in " + "@code{errno}; this value is not accessible from Scheme, but in\n" + "practice it provides little information about the actual error " + "cause.\n\n" /* see <http://bugs.gnu.org/13958>. */ "@end table\n" "\n" "Users are encouraged to read the " |