From a9fc8e65cd6bd12b05fb6225150a09f765cf3d6d Mon Sep 17 00:00:00 2001 From: mrg Date: Tue, 4 Apr 2006 18:50:27 +0000 Subject: [PATCH] actually, chuq says that now kcopy(9) should return a real errno in the failure case (usually what ever uvm_fault() returned.) --- share/man/man9/kcopy.9 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/share/man/man9/kcopy.9 b/share/man/man9/kcopy.9 index 2586a69a1c21..282d503f62b0 100644 --- a/share/man/man9/kcopy.9 +++ b/share/man/man9/kcopy.9 @@ -1,4 +1,4 @@ -.\" $NetBSD: kcopy.9,v 1.3 2006/04/04 17:33:40 mrg Exp $ +.\" $NetBSD: kcopy.9,v 1.4 2006/04/04 18:50:27 mrg Exp $ .\" .\" Copyright (c) 2002 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -59,7 +59,8 @@ must save and restore the old fault handler since it is called by .Xr uiomove 9 , which may be in the path of servicing a non-fatal page fault. .Fn kcopy -returns 0 on success. All other values indicate failure. +returns 0 on success and an error number on failure. .Sh SEE ALSO +.Xr errno 2 , .Xr memcpy 9 , .Xr uiomove 9