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
.m_lsys_krn_sys_memset
.base
= base
;
12 mess
.m_lsys_krn_sys_memset
.count
= bytes
;
13 mess
.m_lsys_krn_sys_memset
.pattern
= pattern
;
14 mess
.m_lsys_krn_sys_memset
.process
= who
;
16 return(_kernel_call(SYS_MEMSET
, &mess
));