summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getdomainname.3
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1996-12-09 16:50:39 +0000
committermpp <mpp@FreeBSD.org>1996-12-09 16:50:39 +0000
commita18275598d5da730112badbb16ce787c56eeddaa (patch)
treeea3690ce6d4c111a51ea3722e0386f7083f1a74a /lib/libc/gen/getdomainname.3
parentec870bb30099c2e3a193d8a4a290575f58c37588 (diff)
downloadFreeBSD-src-a18275598d5da730112badbb16ce787c56eeddaa.zip
FreeBSD-src-a18275598d5da730112badbb16ce787c56eeddaa.tar.gz
Change another reference to host names to domain names, and restore some
changes that were lost. Pointed out by: bde
Diffstat (limited to 'lib/libc/gen/getdomainname.3')
-rw-r--r--lib/libc/gen/getdomainname.37
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/gen/getdomainname.3 b/lib/libc/gen/getdomainname.3
index c4fc6eb..3874ced 100644
--- a/lib/libc/gen/getdomainname.3
+++ b/lib/libc/gen/getdomainname.3
@@ -1,5 +1,3 @@
-.\" $NetBSD: getdomainname.3,v 1.2 1995/02/27 04:12:27 cgd Exp $
-.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -32,6 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)gethostname.3 8.1 (Berkeley) 6/4/93
+.\" $Id$
.\"
.Dd May 6, 1994
.Dt GETDOMAINNAME 3
@@ -88,13 +87,13 @@ The caller tried to set the hostname and was not the super-user.
.Xr sysctl 3 ,
.Xr gethostname 3
.Sh BUGS
-Host names are limited to
+Domain names are limited to
.Dv MAXHOSTNAMELEN
(from
.Ao Pa sys/param.h Ac )
characters, currently 256.
.Sh HISTORY
The
-.Nm
+.Fn getdomainname
function call appeared in
.Bx 4.2 .
OpenPOWER on IntegriCloud