actually, chuq says that now kcopy(9) should return a real errno in
the failure case (usually what ever uvm_fault() returned.)
This commit is contained in:
parent
d7ac53c209
commit
a9fc8e65cd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue