3 int sys_memset(endpoint_t who
, unsigned long pattern
,
4 phys_bytes base
, phys_bytes bytes
)
6 /* Zero a block of data. */
9 if (bytes
== 0L) return(OK
);
11 mess
.MEM_PTR
= (char *) base
;
12 mess
.MEM_COUNT
= bytes
;
13 mess
.MEM_PATTERN
= pattern
;
14 mess
.MEM_PROCESS
= who
;
16 return(_kernel_call(SYS_MEMSET
, &mess
));