2006-06-23 13:54:35 +02:00
|
|
|
|
|
|
|
#include "syslib.h"
|
|
|
|
|
|
|
|
#include <minix/safecopies.h>
|
|
|
|
|
|
|
|
PUBLIC int sys_vsafecopy(struct vscp_vec *vec, int els)
|
|
|
|
{
|
|
|
|
/* Vectored variant of sys_safecopy*. */
|
|
|
|
|
|
|
|
message copy_mess;
|
|
|
|
|
2007-04-02 17:10:07 +02:00
|
|
|
copy_mess.VSCP_VEC_ADDR = (char *) vec;
|
2006-06-23 13:54:35 +02:00
|
|
|
copy_mess.VSCP_VEC_SIZE = els;
|
|
|
|
|
2010-02-09 16:20:09 +01:00
|
|
|
return(_kernel_call(SYS_VSAFECOPY, ©_mess));
|
2006-06-23 13:54:35 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|