fix: screen switch now works well with the shell and its "history"
This commit is contained in:
11
libbozo/src/string/memset.c
Normal file
11
libbozo/src/string/memset.c
Normal file
@ -0,0 +1,11 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void *memset(void *str, int c, size_t n)
|
||||
{
|
||||
uint8_t *c1 = (uint8_t *)str;
|
||||
|
||||
for (size_t i = 0; i < n; i++)
|
||||
c1[i] = c;
|
||||
return c1;
|
||||
}
|
Reference in New Issue
Block a user