12.07.2015 Views

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

KCOPY (9) <strong>NetBSD</strong> <strong>Kernel</strong> Developer’s <strong>Manual</strong> KCOPY (9)<strong>NAME</strong>kcopy —copy data with abort on page faultSYNOPSIS#include intkcopy(const void ∗src , void ∗dst , size_t len);DESCRIPTIONkcopy() 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 thepath of servicing a non-fatal page fault. kcopy() returns 0 on success and an error number on failure.SEE ALSOerrno(2), memcpy(9), uiomove(9)<strong>NetBSD</strong> 3.0 April 4, 2006 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!