]> git.ipfire.org Git - thirdparty/man-pages.git/commit
string_copying.7: Reimplement stpecpy()
authorAlejandro Colomar <alx@kernel.org>
Sun, 3 Dec 2023 23:03:23 +0000 (00:03 +0100)
committerAlejandro Colomar <alx@kernel.org>
Sun, 3 Dec 2023 23:37:01 +0000 (00:37 +0100)
commitc68dc81c7a68f6ba83eb956ccaa4d89b31a31fd8
treedb2297db0c5e3e0e446500b8278ad33ed6e6298a
parent790795ec4e5eb5f841dfb946b30c43b7cde44086
string_copying.7: Reimplement stpecpy()

This implementation resembles more strtcpy(), so the differences are
more visible.  Also, it has no -1's, so it's a bit easier to implement
correctly.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
man7/string_copying.7