make vfs & filesystems use failable copying
[minix3.git] / lib / libsys / sys_vsafecopy.c
blobcd544553fbfa75fe899d61f8d37fc35bdf777246
2 #include "syslib.h"
4 #include <minix/safecopies.h>
6 int sys_vsafecopy(struct vscp_vec *vec, int els)
8 /* Vectored variant of sys_safecopy*. */
10 message copy_mess;
12 copy_mess.VSCP_VEC_ADDR = (char *) vec;
13 copy_mess.VSCP_VEC_SIZE = els;
15 return(_kernel_call(SYS_VSAFECOPY, &copy_mess));