toxcore/nacl/curvecp/byte_zero.c

8 lines
120 B
C
Raw Normal View History

2013-07-02 21:53:34 +08:00
#include "byte.h"
void byte_zero(void *yv,long long ylen)
{
char *y = yv;
while (ylen > 0) { *y++ = 0; --ylen; }
}