mirror of https://github.com/F-Stack/f-stack.git
13 lines
169 B
Plaintext
13 lines
169 B
Plaintext
|
@include@
|
||
|
@@
|
||
|
|
||
|
#include <rte_string_fns.h>
|
||
|
|
||
|
@use_strlcpy depends on include@
|
||
|
expression src, dst, size;
|
||
|
@@
|
||
|
(
|
||
|
- snprintf(dst, size, "%s", src)
|
||
|
+ strlcpy(dst, src, size)
|
||
|
)
|