lpd is no longer an example of a DAEMON facility
[unix-history] / usr / src / lib / libc / gen / gethostname.3
index 8bd8f1d..9dfe232 100644 (file)
@@ -2,7 +2,7 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)gethostname.3       6.1 (Berkeley) %G%
+.\"    @(#)gethostname.3       6.2 (Berkeley) %G%
 .\"
 .TH GETHOSTNAME 2 ""
 .UC 5
 .\"
 .TH GETHOSTNAME 2 ""
 .UC 5
@@ -51,7 +51,7 @@ The \fIname\fP or \fInamelen\fP parameter gave an
 invalid address.
 .TP 15
 [EPERM]
 invalid address.
 .TP 15
 [EPERM]
-The caller was not the super-user.
+The caller tried to set the hostname and was not the super-user.
 .SH SEE ALSO
 gethostid(2)
 .SH BUGS
 .SH SEE ALSO
 gethostid(2)
 .SH BUGS