aboutsummaryrefslogtreecommitdiff
path: root/manual/socket.texi
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-05-27 11:31:50 +0000
committerUlrich Drepper <drepper@redhat.com>1999-05-27 11:31:50 +0000
commitb99a8a1140428d0552cc4a0766d96eedf9ea92cc (patch)
tree6ddb64c0817b9cef138f653e7ae296b9a23be2e6 /manual/socket.texi
parent958f238f3619373d3dbc106d3cda3c467b3419b1 (diff)
downloadglibc-b99a8a1140428d0552cc4a0766d96eedf9ea92cc.tar
glibc-b99a8a1140428d0552cc4a0766d96eedf9ea92cc.tar.gz
glibc-b99a8a1140428d0552cc4a0766d96eedf9ea92cc.tar.bz2
glibc-b99a8a1140428d0552cc4a0766d96eedf9ea92cc.zip
Update.
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.
Diffstat (limited to 'manual/socket.texi')
-rw-r--r--manual/socket.texi7
1 files changed, 1 insertions, 6 deletions
diff --git a/manual/socket.texi b/manual/socket.texi
index 5f31dd47d8..f8564ab5bb 100644
--- a/manual/socket.texi
+++ b/manual/socket.texi
@@ -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}: