Michael,
This case is extracted from CINT2000/256.bzip2/spec.c,
int spec_reset(int fd) {
memset(spec_fd[fd].buf, 0, spec_fd[fd].len);
spec_fd[fd].pos = spec_fd[fd].len = 0;
return 0;
}
Yeah, we can use bzero, or __aeabi_memclr, which is ARM/EABI specific.
Michael, 256.bzip2/ spec.c, spec_fd[ fd].buf, 0, spec_fd[fd].len);
This case is extracted from CINT2000/
int spec_reset(int fd) {
memset(
spec_fd[fd].pos = spec_fd[fd].len = 0;
return 0;
}
Yeah, we can use bzero, or __aeabi_memclr, which is ARM/EABI specific.