.TH ukcopy() "" "" "Internal Kernel Routine"
.PC "User to kernel data copy"
\fBunsigned int ukcopy(\fIu\^\fB, \fIk\^\fB, \fIn\^\fB)\fR
\fBchar *\fIu\^\fB, *\fIk\^\fB; unsigned \fIn\^\fB;\fR
.PP
.B ukcopy()
copies \fIn\fR bytes from offset \fIu\fR in the user's data segment
to offset \fIk\fR in the kernel's data segment.
It returns the number of bytes copied.
If an address fault occurs, it calls
.B set_user_error()
with value
.BR EFAULT ,
and returns zero.
.SH "See Also"
.B
internal kernel routines,
kucopy()
.R
.SH Notes
This function is equivalent to the DDI/DKI routine
.BR copyin() .
