Files
Upsilon/liba/src/bzero.c
Émilie Feral 818c56bd45 [python] Enable float
Change-Id: I94111dd821fb3a9ef1e22ae5133c3a48285c52d5
2017-08-25 11:20:49 +02:00

10 lines
118 B
C

#include <strings.h>
void bzero(void * s, size_t n) {
char *t = s;
while (n != 0) {
*t++ = 0;
n--;
}
}