Unix/Linux Go Back    

NetBSD 6.1.5 - man page for kcopy (netbsd section 9)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

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

     kcopy -- copy data with abort on page fault

     #include <sys/systm.h>

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

     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.  kcopy() returns 0 on success and an
     error number on failure.

     errno(2), memcpy(9), uiomove(9)

BSD					  April 4, 2006 				      BSD
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 09:57 AM.