mirror of https://github.com/F-Stack/f-stack.git
9 lines
118 B
Plaintext
9 lines
118 B
Plaintext
|
@use_strlcpy@
|
||
|
identifier src, dst;
|
||
|
expression size;
|
||
|
@@
|
||
|
(
|
||
|
- snprintf(dst, size, "%s", src)
|
||
|
+ strlcpy(dst, src, size)
|
||
|
)
|