diff options
Diffstat (limited to 'src/lib/libc/include/string.h')
-rw-r--r-- | src/lib/libc/include/string.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/libc/include/string.h b/src/lib/libc/include/string.h index 795746c..11da895 100644 --- a/src/lib/libc/include/string.h +++ b/src/lib/libc/include/string.h @@ -59,4 +59,15 @@ size_t strnlen(const char *s, size_t maxlen); */ void *memcpy(void *dest, const void *src, size_t n); +/* + * Fill 'n' bytes of memory with 'c' + * + * @s: Memory to fill + * @c: Byte to fill memory with + * @n: Number of bytes to fill + * + * Returns a pointer to 's' + */ +void *memset(void *s, int c, size_t n); + #endif /* _STRING_H */ |