summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-01-09 22:29:34 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-01-09 22:29:34 +0000
commit1f83101f55e948d4a7f98a847f1fc781c9ab5f37 (patch)
tree65c3f7ad41b67815fc42608a21b2b394bd104c10
parent332a483dedd5c976b45635d3ef8337dfdd377f08 (diff)
Remove fetch(9) and store(9) manual pages and references to them.
-rw-r--r--share/man/man9/Makefile10
-rw-r--r--share/man/man9/copy.96
-rw-r--r--share/man/man9/fetch.988
-rw-r--r--share/man/man9/store.996
-rw-r--r--share/man/man9/uiomove.94
5 files changed, 6 insertions, 198 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index 5a8e8afa470..49473fffac3 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.59 2002/12/09 09:09:32 deraadt Exp $
+# $OpenBSD: Makefile,v 1.60 2003/01/09 22:29:32 miod Exp $
# $NetBSD: Makefile,v 1.4 1996/01/09 03:23:01 thorpej Exp $
# Makefile for section 9 (kernel function and variable) manual pages.
@@ -7,14 +7,14 @@ MAN= altq.9 audio.9 autoconf.9 boot.9 bus_dma.9 bus_space.9 copy.9 \
crypto.9 ctxsw.9 disk.9 disklabel.9 \
dohooks.9 dopowerhooks.9 doshutdownhooks.9 dostartuphooks.9 \
extattr.9 file.9 \
- fetch.9 fork1.9 extent.9 getdevvp.9 getnewvnode.9 hash.9 hashinit.9 \
+ fork1.9 extent.9 getdevvp.9 getnewvnode.9 hash.9 hashinit.9 \
hardclock.9 hook_establish.9 hz.9 hzto.9 intro.9 inittodr.9 log.9 \
kern.9 kthread.9 lock.9 malloc.9 mbuf.9 mbuf_tags.9 md5.9 microtime.9 \
panic.9 pfind.9 physio.9 pmap.9 \
pool.9 powerhook_establish.9 ppsratecheck.9 printf.9 psignal.9 \
radio.9 random.9 rasops.9 ratecheck.9 resettodr.9 \
shutdownhook_establish.9 sleep.9 spl.9 startuphook_establish.9 \
- store.9 style.9 \
+ .9 style.9 \
time.9 timeout.9 tvtohz.9 uiomove.9 uvm.9 \
vaccess.9 vclean.9 vcount.9 vdevgone.9 vfinddev.9 vflush.9 vget.9 \
vgone.9 vhold.9 vinvalbuf.9 vput.9 vref.9 vrele.9 \
@@ -91,8 +91,6 @@ MLINKS+=extent.9 extent_create.9 extent.9 extent_destroy.9 \
extent.9 extent_alloc.9 extent.9 extent_alloc_subregion.9 \
extent.9 extent_alloc_region.9 extent.9 extent_free.9 \
extent.9 extent_free.9 extent.9 extent_print.9
-MLINKS+=fetch.9 fubyte.9 fetch.9 fuibyte.9 fetch.9 fusword.9 \
- fetch.9 fuswintr.9 fetch.9 fuword.9 fetch.9 fuiword.9
MLINKS+=file.9 falloc.9 file.9 fdrelease.9 file.9 FREF.9 file.9 FRELE.9 \
file.9 fd_getfile.9 file.9 getvnode.9 file.9 getsock.9
MLINKS+=hook_establish.9 hook_disestablish.9
@@ -150,8 +148,6 @@ MLINKS+=spl.9 spl0.9 spl.9 splassert.9 spl.9 splbio.9 spl.9 splclock.9 \
spl.9 splsoftnet.9 spl.9 splsoftserial.9 spl.9 splsofttty.9 \
spl.9 splstatclock.9 spl.9 spltty.9 spl.9 splvm.9 spl.9 splx.9
MLINKS+=startuphook_establish.9 startuphook_disestablish.9
-MLINKS+=store.9 subyte.9 store.9 suibyte.9 store.9 susword.9 \
- store.9 suswintr.9 store.9 suword.9 store.9 suiword.9
MLINKS+=time.9 boottime.9 time.9 mono_time.9 time.9 runtime.9
MLINKS+=timeout.9 timeout_add.9 timeout.9 timeout_set.9 \
timeout.9 timeout_pending.9 timeout.9 timeout_del.9 \
diff --git a/share/man/man9/copy.9 b/share/man/man9/copy.9
index 077940887ee..c724c2479aa 100644
--- a/share/man/man9/copy.9
+++ b/share/man/man9/copy.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: copy.9,v 1.10 2002/05/23 09:30:35 mpech Exp $
+.\" $OpenBSD: copy.9,v 1.11 2003/01/09 22:29:32 miod Exp $
.\" $NetBSD: copy.9,v 1.2 1996/01/09 03:23:04 thorpej Exp $
.\"
.\" Copyright (c) 1996 Jason R. Thorpe.
@@ -125,6 +125,4 @@ functions return
if the string is longer than
.Fa len
bytes.
-.Sh SEE ALSO
-.Xr fetch 9 ,
-.Xr store 9
+.\" .Sh SEE ALSO
diff --git a/share/man/man9/fetch.9 b/share/man/man9/fetch.9
deleted file mode 100644
index 69ce7c49fb4..00000000000
--- a/share/man/man9/fetch.9
+++ /dev/null
@@ -1,88 +0,0 @@
-.\" $OpenBSD: fetch.9,v 1.8 2002/05/23 09:30:35 mpech Exp $
-.\" $NetBSD: fetch.9,v 1.2 1996/01/09 21:59:24 perry Exp $
-.\"
-.\" Copyright (c) 1996 Jason R. Thorpe.
-.\" All rights reserved.
-.\"
-.\" This code is derived from software contributed by Kenneth Stailey.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgement:
-.\" This product includes software developed for the NetBSD Project
-.\" by Jason R. Thorpe.
-.\" 4. The name of the author may not be used to endorse or promote products
-.\" derived from this software without specific prior written permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
-.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
-.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.Dd January 7, 1996
-.Dt FETCH 9
-.Os
-.Sh NAME
-.Nm fetch
-.Nd fetch data from user-space
-.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
-.Ft int
-.Fn fubyte "void *base"
-.Ft int
-.Fn fusword "void *base"
-.Ft int
-.Fn fuswintr "void *base"
-.Ft int
-.Fn fuword "void *base"
-.Sh DESCRIPTION
-The
-.Nm
-functions are designed to copy small amounts of data from user-space.
-.Pp
-The
-.Nm
-routines provide the following functionality:
-.Bl -tag -width "fuswintr()"
-.It Fn fubyte
-Fetches a byte of data from the user-space address
-.Pa base .
-.It Fn fusword
-Fetches a short word of data from the user-space address
-.Pa base .
-.It Fn fuswintr
-Fetches a short word of data from the user-space address
-.Pa base .
-This function is safe to call during an interrupt context.
-.It Fn fuword
-Fetches a word of data from the user-space address
-.Pa base .
-.El
-.Sh NOTE
-The
-.Nm
-routines are deprecated.
-All new code should use
-.Fn copyin .
-.Sh RETURN VALUES
-The
-.Nm
-functions return the data fetched or -1 on failure.
-.Sh SEE ALSO
-.Xr copy 9 ,
-.Xr store 9
diff --git a/share/man/man9/store.9 b/share/man/man9/store.9
deleted file mode 100644
index 1d59e254c08..00000000000
--- a/share/man/man9/store.9
+++ /dev/null
@@ -1,96 +0,0 @@
-.\" $OpenBSD: store.9,v 1.8 2002/05/23 09:30:35 mpech Exp $
-.\" $NetBSD: store.9,v 1.2 1996/01/09 21:59:27 perry Exp $
-.\"
-.\" Copyright (c) 1996 Jason R. Thorpe.
-.\" All rights reserved.
-.\"
-.\" This code is derived from software contributed by Kenneth Stailey.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgement:
-.\" This product includes software developed for the NetBSD Project
-.\" by Jason R. Thorpe.
-.\" 4. The name of the author may not be used to endorse or promote products
-.\" derived from this software without specific prior written permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
-.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
-.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.Dd January 7, 1996
-.Dt STORE 9
-.Os
-.Sh NAME
-.Nm store
-.Nd store data to user-space
-.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
-.Ft int
-.Fn subyte "void *base" "unsigned char c"
-.Ft int
-.Fn susword "void *base" "unsigned short s"
-.Ft int
-.Fn suswintr "void *base" "unsigned short s"
-.Ft int
-.Fn suword "void *base" "unsigned long l"
-.Sh DESCRIPTION
-The
-.Nm
-functions are designed to copy small amounts of data to user-space.
-.Pp
-The
-.Nm
-routines provide the following functionality:
-.Bl -tag -width "suswintr()"
-.It Fn subyte
-Stores a byte of data,
-.Pa c ,
-to the user-space address
-.Pa base .
-.It Fn susword
-Stores a short word of data,
-.Pa s ,
-to the user-space address
-.Pa base .
-.It Fn suswintr
-Stores a short word of data,
-.Pa s ,
-to the user-space address
-.Pa base .
-This function is safe to call during an interrupt context.
-.It Fn suword
-Stores a word of data,
-.Pa l ,
-to the user-space address
-.Pa base .
-.El
-.Sh NOTE
-The
-.Nm
-routines are deprecated.
-All new code should use
-.Fn copyout .
-.Sh RETURN VALUES
-The
-.Nm
-functions return 0 on success or -1 on failure.
-.Sh SEE ALSO
-.Xr copy 9 ,
-.Xr fetch 9
diff --git a/share/man/man9/uiomove.9 b/share/man/man9/uiomove.9
index 07ad2a52129..7fb0a553049 100644
--- a/share/man/man9/uiomove.9
+++ b/share/man/man9/uiomove.9
@@ -134,6 +134,4 @@ to easily be used to fill or drain the region of data.
.Nm
returns 0 on success or EFAULT if a bad address is encountered.
.Sh SEE ALSO
-.Xr copy 9 ,
-.Xr fetch 9 ,
-.Xr store 9
+.Xr copy 9