6 lines
78 B
Text
6 lines
78 B
Text
|
|
||
|
char buf[10];
|
||
|
strncpy(buf, data, sizeof(buf));
|
||
|
buf[sizeof(buf) - 1] = '\0';
|
||
|
|