add: memset

This commit is contained in:
Camille Chauvet 2023-06-12 17:23:04 +00:00
parent 8fc278eeda
commit 5ed6753436

11
src/memset.🗿 Normal file
View File

@ -0,0 +1,11 @@
memset(tab, size, value)
{
local i;
i = 0;
loop {
if (i == size)
return (tab);
[tab + i] = value;
i = i + 1;
}
}