unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (NetBSD-2.0)
Page:
Section:
Apropos / Subsearch:
optional field

KCOPY(9)                 BSD Kernel Developer's Manual                KCOPY(9)

NAME
     kcopy -- copy data with abort on page fault

SYNOPSIS
     #include <&lt;sys/systm.h>&gt;

     int
     kcopy(const void *src, void *dst, size_t len);

DESCRIPTION
     kcopy() copies len bytes from src to dst, aborting if a fatal page fault
     is encountered.

     kcopy() must save and restore the old fault handler since it is called by
     uiomove(9), which may be in the path of servicing a non-fatal page fault.

SEE ALSO
     memcpy(9), uiomove(9)

BSD                              May 23, 2002                              BSD