Uninitialized vector entry?
[minix3.git] / lib / syslib / sys_memset.c
blobb0755f98354ee16ff6746177a7e87d43293349d3
1 #include "syslib.h"
3 PUBLIC int sys_memset(unsigned long pattern, phys_bytes base, phys_bytes bytes)
5 /* Zero a block of data. */
6 message mess;
8 if (bytes == 0L) return(OK);
10 mess.MEM_PTR = (char *) base;
11 mess.MEM_COUNT = bytes;
12 mess.MEM_PATTERN = pattern;
14 return(_taskcall(SYSTASK, SYS_MEMSET, &mess));