1 // ----------------------------------------------------------------------------
3 // ----------------------------------------------------------------------------
4 // Public Domain C Library - http://pdclib.sourceforge.net
5 // This code is Public Domain. Use, modify, and redistribute at will.
6 // ----------------------------------------------------------------------------
8 void * memset( void * s, int c, size_t n ) { /* TODO */ };
12 unsigned short * tmp = (unsigned short *) s; // TODO: unsigned short?
21 /* PDPC code - unreviewed
25 for (x = 0; x < n; x++)
27 *((char *)s + x) = (unsigned char)c;