summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/gethostbyname.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/net/gethostbyname.3')
-rw-r--r--src/lib/libc/net/gethostbyname.38
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/libc/net/gethostbyname.3 b/src/lib/libc/net/gethostbyname.3
index aced5ba616..f1353288c5 100644
--- a/src/lib/libc/net/gethostbyname.3
+++ b/src/lib/libc/net/gethostbyname.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: gethostbyname.3,v 1.14 2000/04/15 02:15:22 aaron Exp $ 1.\" $OpenBSD: gethostbyname.3,v 1.15 2000/04/18 03:01:31 aaron Exp $
2.\" 2.\"
3.\" Copyright (c) 1983, 1987, 1991, 1993 3.\" Copyright (c) 1983, 1987, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -166,12 +166,14 @@ connection.
166.Pp 166.Pp
167The 167The
168.Fn herror 168.Fn herror
169function prints an error message describing the failure. If its argument 169function prints an error message describing the failure.
170If its argument
170.Fa string 171.Fa string
171is non-null, 172is non-null,
172it is prepended to the message string and separated from it by a colon 173it is prepended to the message string and separated from it by a colon
173.Pq Ql \&: 174.Pq Ql \&:
174and a space. The error message is printed with a trailing newline. 175and a space.
176The error message is printed with a trailing newline.
175The contents of the error message is the same as that returned by 177The contents of the error message is the same as that returned by
176.Fn hstrerror 178.Fn hstrerror
177with argument 179with argument