summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-07-17 08:33:02 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-07-17 08:33:02 +0000
commit764dedf4da46cd19983a6450773c78bc8a61633a (patch)
tree8ed7e7f8b61e9ae7cbe97944da2f2be0355b1639 /lib/libc/gen
parent7f85e2ead15ad53090a7c4ac3557e141d47a32bc (diff)
order sysctl(2) Xr by section
missed when sysctl(3) references were changed to sysctl(2)
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/getdomainname.36
-rw-r--r--lib/libc/gen/gethostname.36
-rw-r--r--lib/libc/gen/getloadavg.38
3 files changed, 10 insertions, 10 deletions
diff --git a/lib/libc/gen/getdomainname.3 b/lib/libc/gen/getdomainname.3
index d6114de1c99..2b982311bf0 100644
--- a/lib/libc/gen/getdomainname.3
+++ b/lib/libc/gen/getdomainname.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getdomainname.3,v 1.27 2022/03/31 17:27:15 naddy Exp $
+.\" $OpenBSD: getdomainname.3,v 1.28 2022/07/17 08:33:01 jsg Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 31 2022 $
+.Dd $Mdocdate: July 17 2022 $
.Dt GETDOMAINNAME 3
.Os
.Sh NAME
@@ -79,9 +79,9 @@ The caller tried to set the domain name and was not the superuser.
.El
.Sh SEE ALSO
.Xr domainname 1 ,
+.Xr sysctl 2 ,
.Xr gethostid 3 ,
.Xr gethostname 3 ,
-.Xr sysctl 2 ,
.Xr sysctl 8 ,
.Xr yp 8
.Sh HISTORY
diff --git a/lib/libc/gen/gethostname.3 b/lib/libc/gen/gethostname.3
index 1f30f15fc57..cc9376d7821 100644
--- a/lib/libc/gen/gethostname.3
+++ b/lib/libc/gen/gethostname.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gethostname.3,v 1.29 2022/03/31 17:27:15 naddy Exp $
+.\" $OpenBSD: gethostname.3,v 1.30 2022/07/17 08:33:01 jsg Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 31 2022 $
+.Dd $Mdocdate: July 17 2022 $
.Dt GETHOSTNAME 3
.Os
.Sh NAME
@@ -83,9 +83,9 @@ The caller tried to set the hostname and was not the superuser.
.El
.Sh SEE ALSO
.Xr hostname 1 ,
+.Xr sysctl 2 ,
.Xr getdomainname 3 ,
.Xr gethostid 3 ,
-.Xr sysctl 2 ,
.Xr sysctl 8 ,
.Xr yp 8
.Sh STANDARDS
diff --git a/lib/libc/gen/getloadavg.3 b/lib/libc/gen/getloadavg.3
index 914a1b18b69..8f2ed1c5288 100644
--- a/lib/libc/gen/getloadavg.3
+++ b/lib/libc/gen/getloadavg.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getloadavg.3,v 1.14 2018/01/12 04:36:44 deraadt Exp $
+.\" $OpenBSD: getloadavg.3,v 1.15 2022/07/17 08:33:01 jsg Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 12 2018 $
+.Dd $Mdocdate: July 17 2022 $
.Dt GETLOADAVG 3
.Os
.Sh NAME
@@ -59,8 +59,8 @@ Please see
for a list of possible errors.
.Sh SEE ALSO
.Xr uptime 1 ,
-.Xr kvm_getloadavg 3 ,
-.Xr sysctl 2
+.Xr sysctl 2 ,
+.Xr kvm_getloadavg 3
.Sh HISTORY
The
.Fn getloadavg