diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-01-21 23:30:05 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-01-21 23:30:05 +0000 |
commit | 5fa75022a76d00617da21e73a1e8674aa4ec280e (patch) | |
tree | 55032a405385d3d89770f1758a7775733a78fe53 /lib/libc/gen | |
parent | 541a7185ffd0ca638b159cdecd66cf113e21de26 (diff) |
Shuffle man page sections into preferred order.
Diffstat (limited to 'lib/libc/gen')
-rw-r--r-- | lib/libc/gen/gethostname.3 | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/lib/libc/gen/gethostname.3 b/lib/libc/gen/gethostname.3 index a10102b5943..10767cf6e5c 100644 --- a/lib/libc/gen/gethostname.3 +++ b/lib/libc/gen/gethostname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gethostname.3,v 1.17 2000/04/18 03:01:26 aaron Exp $ +.\" $OpenBSD: gethostname.3,v 1.18 2001/01/21 23:30:04 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -78,8 +78,7 @@ The .Fa name or .Fa namelen -parameter gave an -invalid address. +parameter gave an invalid address. .It Bq Er EPERM The caller tried to set the hostname and was not the superuser. .El @@ -90,6 +89,16 @@ The caller tried to set the hostname and was not the superuser. .Xr sysctl 3 , .Xr sysctl 8 , .Xr yp 8 +.Sh STANDARDS +The +.Fn gethostname +function call conforms to +.St -xpg4.2 . +.Sh HISTORY +The +.Fn gethostname +function call appeared in +.Bx 4.2 . .Sh BUGS Host names are limited to .Dv MAXHOSTNAMELEN @@ -103,13 +112,3 @@ If the buffer passed to is smaller than .Dv MAXHOSTNAMELEN , other operating systems may not guarantee termination with NUL. -.Sh HISTORY -The -.Fn gethostname -function call appeared in -.Bx 4.2 . -.Sh STANDARDS -The -.Fn gethostname -function call conforms to -.St -xpg4.2 . |