19 lines
303 B
C
19 lines
303 B
C
|
|
||
|
#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;
|
||
|
|
||
|
copy_mess.VSCP_VEC_ADDR = vec;
|
||
|
copy_mess.VSCP_VEC_SIZE = els;
|
||
|
|
||
|
return(_taskcall(SYSTASK, SYS_VSAFECOPY, ©_mess));
|
||
|
|
||
|
}
|
||
|
|