summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-08-30 18:33:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-08-30 18:33:18 +0000
commit91a193b9d865677309a2948c52e530a2874f2ab6 (patch)
tree9ef05d2658ba8405e0f48c109e3d2bb470800626
parentff3d39548d2a1035a157efc65f2c5b46c9ca4435 (diff)
Move 4 manual pages from not-a-function filenames to a correct filename,
and correct Xr. ok jmc
-rw-r--r--games/fortune/strfile/strfile.86
-rw-r--r--lib/libc/net/Makefile.inc8
-rw-r--r--lib/libc/net/ether_aton.3 (renamed from lib/libc/net/ethers.3)4
-rw-r--r--lib/libc/net/htobe64.3 (renamed from lib/libc/net/byteorder.3)4
-rw-r--r--lib/libc/net/inet_addr.36
-rw-r--r--lib/libc/net/inet_net_ntop.3 (renamed from lib/libc/net/inet_net.3)6
-rw-r--r--lib/libc/net/res_init.3 (renamed from lib/libc/net/resolver.3)4
-rw-r--r--share/man/man3/Makefile4
-rw-r--r--share/man/man3/bit_alloc.3 (renamed from share/man/man3/bitstring.3)8
-rw-r--r--share/man/man3/va_start.3 (renamed from share/man/man3/stdarg.3)4
-rw-r--r--share/man/man9/bemtoh32.98
11 files changed, 30 insertions, 32 deletions
diff --git a/games/fortune/strfile/strfile.8 b/games/fortune/strfile/strfile.8
index 8ff937d3309..3c1fa4f2ba5 100644
--- a/games/fortune/strfile/strfile.8
+++ b/games/fortune/strfile/strfile.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strfile.8,v 1.15 2013/08/14 06:32:38 jmc Exp $
+.\" $OpenBSD: strfile.8,v 1.16 2019/08/30 18:33:17 deraadt Exp $
.\" $NetBSD: strfile.8,v 1.3 1995/03/23 08:28:45 cgd Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -34,7 +34,7 @@
.\"
.\" @(#)strfile.8 8.1 (Berkeley) 6/9/93
.\"
-.Dd $Mdocdate: August 14 2013 $
+.Dd $Mdocdate: August 30 2019 $
.Dt STRFILE 8
.Os
.Sh NAME
@@ -140,7 +140,7 @@ to dump them out in the table order.
default output file.
.El
.Sh SEE ALSO
-.Xr byteorder 3 ,
+.Xr ntohl 3 ,
.Xr fortune 6
.Sh HISTORY
The
diff --git a/lib/libc/net/Makefile.inc b/lib/libc/net/Makefile.inc
index b78cd6be852..41a3164d6a9 100644
--- a/lib/libc/net/Makefile.inc
+++ b/lib/libc/net/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.59 2016/03/30 06:38:41 jmc Exp $
+# $OpenBSD: Makefile.inc,v 1.60 2019/08/30 18:33:17 deraadt Exp $
# net sources
.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/net ${LIBCSRCDIR}/net
@@ -28,9 +28,9 @@ SRCS+= ip6opt.c rthdr.c vars6.c
.include "${LIBCSRCDIR}/arch/${MACHINE_CPU}/net/Makefile.inc"
-MAN+= byteorder.3 ethers.3 gai_strerror.3 getaddrinfo.3 gethostbyname.3 \
+MAN+= htobe64.3 ether_aton.3 gai_strerror.3 getaddrinfo.3 gethostbyname.3 \
getifaddrs.3 getnameinfo.3 getnetent.3 getpeereid.3 getprotoent.3 \
getrrsetbyname.3 getservent.3 htonl.3 if_indextoname.3 \
- inet_addr.3 inet_lnaof.3 inet_net.3 inet_ntop.3 \
+ inet_addr.3 inet_lnaof.3 inet_net_ntop.3 inet_ntop.3 \
inet6_opt_init.3 inet6_rth_space.3 link_ntoa.3 \
- rcmd.3 rcmdsh.3 resolver.3 sockatmark.3
+ rcmd.3 rcmdsh.3 res_init.3 sockatmark.3
diff --git a/lib/libc/net/ethers.3 b/lib/libc/net/ether_aton.3
index 021e1ced737..98beb5e4921 100644
--- a/lib/libc/net/ethers.3
+++ b/lib/libc/net/ether_aton.3
@@ -1,8 +1,8 @@
-.\" $OpenBSD: ethers.3,v 1.25 2018/11/09 17:49:32 brynet Exp $
+.\" $OpenBSD: ether_aton.3,v 1.1 2019/08/30 18:33:17 deraadt Exp $
.\"
.\" Written by roland@frob.com. Public domain.
.\"
-.Dd $Mdocdate: November 9 2018 $
+.Dd $Mdocdate: August 30 2019 $
.Dt ETHER_ATON 3
.Os
.Sh NAME
diff --git a/lib/libc/net/byteorder.3 b/lib/libc/net/htobe64.3
index 98f6aff3622..3e500897e28 100644
--- a/lib/libc/net/byteorder.3
+++ b/lib/libc/net/htobe64.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: byteorder.3,v 1.22 2015/11/10 23:48:18 jmc Exp $
+.\" $OpenBSD: htobe64.3,v 1.1 2019/08/30 18:33:17 deraadt 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: November 10 2015 $
+.Dd $Mdocdate: August 30 2019 $
.Dt HTOBE64 3
.Os
.Sh NAME
diff --git a/lib/libc/net/inet_addr.3 b/lib/libc/net/inet_addr.3
index 231f94ff1b8..77d5cde9c75 100644
--- a/lib/libc/net/inet_addr.3
+++ b/lib/libc/net/inet_addr.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: inet_addr.3,v 1.3 2018/04/28 16:03:43 schwarze Exp $
+.\" $OpenBSD: inet_addr.3,v 1.4 2019/08/30 18:33:17 deraadt Exp $
.\" $NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)inet.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: April 28 2018 $
+.Dd $Mdocdate: August 30 2019 $
.Dt INET_ADDR 3
.Os
.Sh NAME
@@ -144,7 +144,7 @@ in the C language (i.e., a leading 0x or 0X implies
hexadecimal; a leading 0 implies octal;
otherwise, the number is interpreted as decimal).
.Sh SEE ALSO
-.Xr byteorder 3 ,
+.Xr htonl 3 ,
.Xr gethostbyname 3 ,
.Xr inet_lnaof 3 ,
.Xr inet_net 3 ,
diff --git a/lib/libc/net/inet_net.3 b/lib/libc/net/inet_net_ntop.3
index adb7589fca4..db10bf962c7 100644
--- a/lib/libc/net/inet_net.3
+++ b/lib/libc/net/inet_net_ntop.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: inet_net.3,v 1.19 2018/04/28 20:29:18 schwarze Exp $
+.\" $OpenBSD: inet_net_ntop.3,v 1.1 2019/08/30 18:33:17 deraadt Exp $
.\" $NetBSD: inet_net.3,v 1.1 1997/06/18 02:25:27 lukem Exp $
.\"
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: April 28 2018 $
+.Dd $Mdocdate: August 30 2019 $
.Dt INET_NET_NTOP 3
.Os
.Sh NAME
@@ -185,7 +185,7 @@ notation, the value of the address still includes all bits supplied
in the external representation, even those bits which are the host
part of an Internet address.
.Sh SEE ALSO
-.Xr byteorder 3 ,
+.Xr htonl 3 ,
.Xr inet_pton 3 ,
.Xr inet 4 ,
.Xr hosts 5
diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/res_init.3
index e354bdbec40..01a6b8e0b33 100644
--- a/lib/libc/net/resolver.3
+++ b/lib/libc/net/res_init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: resolver.3,v 1.39 2019/05/13 14:11:20 schwarze Exp $
+.\" $OpenBSD: res_init.3,v 1.1 2019/08/30 18:33:17 deraadt Exp $
.\"
.\" Copyright (c) 1985, 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: May 13 2019 $
+.Dd $Mdocdate: August 30 2019 $
.Dt RES_INIT 3
.Os
.Sh NAME
diff --git a/share/man/man3/Makefile b/share/man/man3/Makefile
index 69ec7f23d34..79741e8e1c4 100644
--- a/share/man/man3/Makefile
+++ b/share/man/man3/Makefile
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile,v 1.30 2019/02/07 03:10:14 cheloha Exp $
+# $OpenBSD: Makefile,v 1.31 2019/08/30 18:33:17 deraadt Exp $
# @(#)Makefile 8.2 (Berkeley) 12/13/93
-MAN= assert.3 bitstring.3 CMSG_DATA.3 dlfcn.3 dl_iterate_phdr.3 end.3 \
+MAN= assert.3 bit_alloc.3 CMSG_DATA.3 dlfcn.3 dl_iterate_phdr.3 end.3 \
intro.3 makedev.3 offsetof.3 queue.3 stdarg.3 sysexits.3 timeradd.3 \
tree.3
diff --git a/share/man/man3/bitstring.3 b/share/man/man3/bit_alloc.3
index 91c79a2f17d..7b15b2b2105 100644
--- a/share/man/man3/bitstring.3
+++ b/share/man/man3/bit_alloc.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bitstring.3,v 1.15 2015/11/10 23:48:17 jmc Exp $
+.\" $OpenBSD: bit_alloc.3,v 1.1 2019/08/30 18:33:17 deraadt Exp $
.\" $NetBSD: bitstring.3,v 1.4 1994/11/30 15:24:31 jtc Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -32,7 +32,7 @@
.\"
.\" @(#)bitstring.3 8.1 (Berkeley) 7/19/93
.\"
-.Dd $Mdocdate: November 10 2015 $
+.Dd $Mdocdate: August 30 2019 $
.Dt BIT_ALLOC 3
.Os
.Sh NAME
@@ -171,7 +171,5 @@ make_lpr_available()
.Sh SEE ALSO
.Xr malloc 3
.Sh HISTORY
-The
-.Nm bitstring
-functions first appeared in
+These functions first appeared in
.Bx 4.4 .
diff --git a/share/man/man3/stdarg.3 b/share/man/man3/va_start.3
index 3f369014883..a3452677094 100644
--- a/share/man/man3/stdarg.3
+++ b/share/man/man3/va_start.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: stdarg.3,v 1.20 2015/11/10 23:48:17 jmc Exp $
+.\" $OpenBSD: va_start.3,v 1.1 2019/08/30 18:33:17 deraadt Exp $
.\" $NetBSD: stdarg.3,v 1.15 2002/08/18 08:57:07 yamt Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
@@ -34,7 +34,7 @@
.\"
.\" @(#)stdarg.3 8.1 (Berkeley) 6/5/93
.\"
-.Dd $Mdocdate: November 10 2015 $
+.Dd $Mdocdate: August 30 2019 $
.Dt VA_START 3
.Os
.Sh NAME
diff --git a/share/man/man9/bemtoh32.9 b/share/man/man9/bemtoh32.9
index 682d9c8b89a..98d47602178 100644
--- a/share/man/man9/bemtoh32.9
+++ b/share/man/man9/bemtoh32.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bemtoh32.9,v 1.6 2015/11/23 17:53:57 jmc Exp $
+.\" $OpenBSD: bemtoh32.9,v 1.7 2019/08/30 18:33:17 deraadt Exp $
.\"
.\" Copyright (c) 2014 David Gwynne <dlg@openbsd.org>
.\" All rights reserved.
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 23 2015 $
+.Dd $Mdocdate: August 30 2019 $
.Dt BEMTOH32 9
.Os
.Sh NAME
@@ -63,7 +63,7 @@ This API provides a way to take advantage of an architecture's ability
to load and store words in memory of different endians.
If an architecture has no specialised support for these operations
they will be implemented as a wrapper around the
-.Xr byteorder 3
+.Xr htobe64 3
API.
.Pp
These operations are subject to the same alignment restrictions as
@@ -137,7 +137,7 @@ and
.Fn htolem64
do not return a value.
.Sh SEE ALSO
-.Xr byteorder 3
+.Xr htobe64 3
.Sh HISTORY
These functions first appeared in
.Ox 5.6 .