diff options
author | Stefan Kempf <stefan@cvs.openbsd.org> | 2016-03-15 04:19:27 +0000 |
---|---|---|
committer | Stefan Kempf <stefan@cvs.openbsd.org> | 2016-03-15 04:19:27 +0000 |
commit | 4aa6f62184341e7ec83a9b788fc901313bf85be5 (patch) | |
tree | 879639f37445beb090db6a22083bd47ba0de9083 /share/man | |
parent | af65d881e0771f916949bc9ba0900189219c9c46 (diff) |
Remove now unused legacy uiomovei() function.
All its callers got reviewed and converted to
use uiomove() properly.
ok deraadt@
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man9/Makefile | 4 | ||||
-rw-r--r-- | share/man/man9/uiomove.9 | 20 |
2 files changed, 6 insertions, 18 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index 2b39f54c389..a0c0d20c06b 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.271 2015/12/20 08:10:36 sf Exp $ +# $OpenBSD: Makefile,v 1.272 2016/03/15 04:19:26 stefan Exp $ # $NetBSD: Makefile,v 1.4 1996/01/09 03:23:01 thorpej Exp $ # Makefile for section 9 (kernel function and variable) manual pages. @@ -418,7 +418,7 @@ MLINKS+=timeout.9 timeout_add.9 timeout.9 timeout_set.9 \ MLINKS+=tsleep.9 wakeup.9 tsleep.9 wakeup_n.9 tsleep.9 wakeup_one.9 \ tsleep.9 msleep.9 MLINKS+=tvtohz.9 tstohz.9 -MLINKS+=uiomove.9 uio.9 uiomove.9 uiomovei.9 +MLINKS+=uiomove.9 uio.9 MLINKS+=usbd_close_pipe.9 usbd_abort_pipe.9 MLINKS+=usbd_open_pipe.9 usbd_open_pipe_intr.9 MLINKS+=usbd_transfer.9 usbd_setup_xfer.9 diff --git a/share/man/man9/uiomove.9 b/share/man/man9/uiomove.9 index 8fa8919498d..58bf2abb158 100644 --- a/share/man/man9/uiomove.9 +++ b/share/man/man9/uiomove.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: uiomove.9,v 1.17 2015/11/23 17:53:57 jmc Exp $ +.\" $OpenBSD: uiomove.9,v 1.18 2016/03/15 04:19:26 stefan Exp $ .\" $NetBSD: uiomove.9,v 1.6 2001/12/26 00:16:30 wiz Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -25,19 +25,16 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: November 23 2015 $ +.Dd $Mdocdate: March 15 2016 $ .Dt UIOMOVE 9 .Os .Sh NAME -.Nm uiomove , -.Nm uiomovei +.Nm uiomove .Nd move data described by a struct uio .Sh SYNOPSIS .In sys/systm.h .Ft int .Fn uiomove "void *buf" "size_t n" "struct uio *uio" -.Ft int -.Fn uiomovei "void *buf" "int n" "struct uio *uio" .Sh DESCRIPTION The .Nm @@ -133,17 +130,8 @@ to point that much farther into the region described. This allows multiple calls to .Nm to easily be used to fill or drain the region of data. -.Pp -The -.Nm uiomovei -function is similar to -.Nm uiomove , -but uses a signed integer as the byte count. -It is a temporary legacy interface and should not be used in new code. .Sh RETURN VALUES .Nm -and -.Nm uiomovei -return 0 on success or EFAULT if a bad address is encountered. +returs 0 on success or EFAULT if a bad address is encountered. .Sh SEE ALSO .Xr copy 9 |