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