diff options
Diffstat (limited to 'rushs/tinyprintf/my_memset')
| -rw-r--r-- | rushs/tinyprintf/my_memset/my_memset.c | 12 | ||||
| -rw-r--r-- | rushs/tinyprintf/my_memset/my_memset.h | 6 |
2 files changed, 0 insertions, 18 deletions
diff --git a/rushs/tinyprintf/my_memset/my_memset.c b/rushs/tinyprintf/my_memset/my_memset.c deleted file mode 100644 index 243a5ac..0000000 --- a/rushs/tinyprintf/my_memset/my_memset.c +++ /dev/null @@ -1,12 +0,0 @@ -#include "my_memset.h" - -void *my_memset(void *s, int c, size_t n) -{ - unsigned char *t = s; - for (size_t i = 0; i < n; i++) - { - t[i] = c; - } - - return t; -} diff --git a/rushs/tinyprintf/my_memset/my_memset.h b/rushs/tinyprintf/my_memset/my_memset.h deleted file mode 100644 index e5ed0f0..0000000 --- a/rushs/tinyprintf/my_memset/my_memset.h +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef MY_MEMSET_H -#define MY_MEMSET_H - -#include <stddef.h> - -#endif /* ! MY_MEMSET_H */ |
