mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
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.
This commit is contained in:
parent
570fdeceac
commit
5bb40f9df0
2 changed files with 9 additions and 4 deletions
|
@ -2562,8 +2562,11 @@ code should be prepared to handle it when it is defined.
|
||||||
@var{hint_socktype} was not recognized.
|
@var{hint_socktype} was not recognized.
|
||||||
|
|
||||||
@item EAI_SYSTEM
|
@item EAI_SYSTEM
|
||||||
A system error occurred; the error code can be found in
|
A system error occurred. In C, the error code can be found in
|
||||||
@code{errno}.
|
@code{errno}; this value is not accessible from Scheme, but in
|
||||||
|
practice it provides little information about the actual error
|
||||||
|
cause.
|
||||||
|
@c See <http://bugs.gnu.org/13958>.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
Users are encouraged to read the
|
Users are encouraged to read the
|
||||||
|
|
|
@ -595,8 +595,10 @@ SCM_DEFINE (scm_getaddrinfo, "getaddrinfo", 1, 5, 0,
|
||||||
"@item EAI_SOCKTYPE\n"
|
"@item EAI_SOCKTYPE\n"
|
||||||
"@var{hint_socktype} was not recognized.\n\n"
|
"@var{hint_socktype} was not recognized.\n\n"
|
||||||
"@item EAI_SYSTEM\n"
|
"@item EAI_SYSTEM\n"
|
||||||
"A system error occurred; the error code can be found in "
|
"A system error occurred. In C, the error code can be found in "
|
||||||
"@code{errno}.\n"
|
"@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"
|
"@end table\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Users are encouraged to read the "
|
"Users are encouraged to read the "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue