blob: 7ea383ab82e696a4eb416d1da6a8f3d7d864b381 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
extern void StrLib_StrCopy(char *b, unsigned int length, char *a, unsigned int);
static char a[50];
void foo (char *b, unsigned int length)
{
char Copy[length+1];
strcpy(Copy, b);
StrLib_StrCopy(b, length, a, 50);
}
|