minix/lib/libsys/sys_vsafecopy.c

19 lines
299 B
C
Raw Normal View History

#include "syslib.h"
#include <minix/safecopies.h>
2012-03-25 20:25:53 +02:00
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;
copy_mess.VSCP_VEC_SIZE = els;
return(_kernel_call(SYS_VSAFECOPY, &copy_mess));
}