summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-06-13 13:30:35 +0000
committerderaadt <deraadt@openbsd.org>1997-06-13 13:30:35 +0000
commitd6175d659f279d7cc43bb8f33e0d3def3c6745c5 (patch)
treeed198a09276fd542db24464c8785939b7e087362 /lib/libc/net
parentdoc execve & setitimer setuid side effect (diff)
downloadwireguard-openbsd-d6175d659f279d7cc43bb8f33e0d3def3c6745c5.tar.xz
wireguard-openbsd-d6175d659f279d7cc43bb8f33e0d3def3c6745c5.zip
hstrerror
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/gethostbyname.35
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3
index 0e9a9cbbf15..50329a810c9 100644
--- a/lib/libc/net/gethostbyname.3
+++ b/lib/libc/net/gethostbyname.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gethostbyname.3,v 1.6 1997/04/26 22:13:41 michaels Exp $
+.\" $OpenBSD: gethostbyname.3,v 1.7 1997/06/13 13:30:35 deraadt Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -41,6 +41,7 @@
.Nm gethostent ,
.Nm sethostent ,
.Nm endhostent ,
+.Nm hstrerror ,
.Nm herror
.Nd get network host entry
.Sh SYNOPSIS
@@ -60,6 +61,8 @@
.Fn endhostent void
.Ft void
.Fn herror "const char *string"
+.Ft const char *
+.Fn hstrerror "int err"
.Sh DESCRIPTION
The
.Fn gethostbyname