433d6423c3
Change-Id: Ic716f336b7071063997cf5b4dae6d50e0b4631e9
18 lines
324 B
C
18 lines
324 B
C
|
|
#include "syslib.h"
|
|
|
|
#include <minix/safecopies.h>
|
|
|
|
int sys_vsafecopy(struct vscp_vec *vec, int els)
|
|
{
|
|
/* Vectored variant of sys_safecopy*. */
|
|
|
|
message copy_mess;
|
|
|
|
copy_mess.m_lsys_kern_vsafecopy.vec_addr = vec;
|
|
copy_mess.m_lsys_kern_vsafecopy.vec_size = els;
|
|
|
|
return(_kernel_call(SYS_VSAFECOPY, ©_mess));
|
|
|
|
}
|
|
|