-.\" $OpenBSD: getdomainname.3,v 1.3 1996/12/03 00:28:39 deraadt Exp $
+.\" $OpenBSD: getdomainname.3,v 1.4 1997/03/29 04:22:37 millert Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.Dd May 6, 1994
.Dt GETDOMAINNAME 3
-.Os BSD 4.2
+.Os
.Sh NAME
.Nm getdomainname ,
.Nm setdomainname
-.Nd get/set domain name of current host
+.Nd get/set YP domain name of current host
.Sh SYNOPSIS
.Fd #include <unistd.h>
.Ft int
.Fn setdomainname "const char *name" "int namelen"
.Sh DESCRIPTION
.Fn Getdomainname
-returns the standard domain name for the current processor, as
+returns the YP domain name for the current processor, as
previously set by
.Fn setdomainname .
The parameter
.Sh SEE ALSO
.Xr sysctl 2 ,
.Xr gethostid 3 ,
-.Xr gethostname 3
+.Xr gethostname 3 ,
+.Xr domainname 1 ,
+.Xr yp 8
.Sh BUGS
Domain names are limited to
.Dv MAXHOSTNAMELEN
The
.Nm
function call appeared in
-.Bx 4.2 .
+SunOS 3.x.