3 ms·
If your project is small and self-contained, sure. If you have a large codebase, you have to at least rename to mylib_strlcpy. Then the other projects do that a
by humanrebar 5y ago
If your project is small and self-contained, sure. If you have a large codebase, you have to at least rename to mylib_strlcpy. Then the other projects do that as well. Then you have 572 almost-clones of strlcpy.
Consider this before copying code if you are part of a large codebase. Note that sufficiently popular OSS typically is.