toxcore/nacl/curvecp/byte_zero.c
2013-07-02 09:53:34 -04:00

8 lines
120 B
C

#include "byte.h"
void byte_zero(void *yv,long long ylen)
{
char *y = yv;
while (ylen > 0) { *y++ = 0; --ylen; }
}