bzero(p,c) char *p; int c; { while( c-- > 0 ) *p++ = '\0'; } bcopy(s,d,c) char *s, *d; int c; { while( c-- > 0 ) *d++ = *s++; }