diff options
Diffstat (limited to 'lib/memset.c')
-rw-r--r-- | lib/memset.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/memset.c b/lib/memset.c deleted file mode 100644 index 670e4b6..0000000 --- a/lib/memset.c +++ /dev/null @@ -1,14 +0,0 @@ -/** - * The memset() function fills the first n bytes of the memory area pointed to by s with the constant byte c. - * @param s - * @param c - * @param n - * @return - */ -void * -memset(void *s, int c, long unsigned n) -{ - char *pDest = (char *)s; - for (unsigned i = 0; i < n; ++i) pDest[i] = c; - return s; -} |