1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00
1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/socket.texi (Host Names): Remove statement that h_errno
	needs to be declared since this isn't true anymore.
	Closes PR libc/1138.
This commit is contained in:
Ulrich Drepper
1999-05-27 11:31:50 +00:00
parent 958f238f36
commit b99a8a1140
3 changed files with 7 additions and 9 deletions

View File

@@ -1236,12 +1236,7 @@ If the name lookup by @code{gethostbyname} or @code{gethostbyaddr}
fails, you can find out the reason by looking at the value of the
variable @code{h_errno}. (It would be cleaner design for these
functions to set @code{errno}, but use of @code{h_errno} is compatible
with other systems.) Before using @code{h_errno}, you must declare it
like this:
@smallexample
extern int h_errno;
@end smallexample
with other systems.)
Here are the error codes that you may find in @code{h_errno}: