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