3 #include <minix/safecopies.h>
5 int sys_safememset(endpoint_t dst_e
, cp_grant_id_t gr_id
,
6 vir_bytes offset
, int pattern
, size_t len
)
8 /* memset() a block of data using pattern */
12 copy_mess
.SMS_DST
= dst_e
;
13 copy_mess
.SMS_GID
= gr_id
;
14 copy_mess
.SMS_OFFSET
= (long) offset
;
15 copy_mess
.SMS_PATTERN
= pattern
;
16 copy_mess
.SMS_BYTES
= (long) len
;
18 return(_kernel_call(SYS_SAFEMEMSET
, ©_mess
));