diff options
Diffstat (limited to 'src/lib/libc/net/gethostbyname.3')
-rw-r--r-- | src/lib/libc/net/gethostbyname.3 | 8 |
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 |
167 | The | 167 | The |
168 | .Fn herror | 168 | .Fn herror |
169 | function prints an error message describing the failure. If its argument | 169 | function prints an error message describing the failure. |
170 | If its argument | ||
170 | .Fa string | 171 | .Fa string |
171 | is non-null, | 172 | is non-null, |
172 | it is prepended to the message string and separated from it by a colon | 173 | it is prepended to the message string and separated from it by a colon |
173 | .Pq Ql \&: | 174 | .Pq Ql \&: |
174 | and a space. The error message is printed with a trailing newline. | 175 | and a space. |
176 | The error message is printed with a trailing newline. | ||
175 | The contents of the error message is the same as that returned by | 177 | The contents of the error message is the same as that returned by |
176 | .Fn hstrerror | 178 | .Fn hstrerror |
177 | with argument | 179 | with argument |