blob: 5d7f194674d52cfe489a635ccd7920fb50ffc0ae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#include <lib/string.h>
void strcpy(char *dest, const char *orig)
{
u32 s_orig = strlen(orig);
for (u32 i = 0; i < s_orig; i++)
dest[i] = orig[i];
dest[s_orig] = 0;
}
|