00001 00007 /* Embedded XINU, Copyright (C) 2007. All rights reserved. */ 00008 00014 void bzero(void *p, int len) 00015 { 00016 int n; 00017 char *pch = (char *)p; 00018 00019 if ((n = len) <= 0) 00020 { return; } 00021 do 00022 { *pch++ = 0; } 00023 while (--n); 00024 }