lib: move strlcpy()
authorJan Beulich <jbeulich@suse.com>
Thu, 22 Apr 2021 12:48:59 +0000 (14:48 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 22 Apr 2021 12:48:59 +0000 (14:48 +0200)
commitead845c4fbe44d2ea8d16eaaa6d59f1d63a29b2d
treedd54e38d922c2ab05c132ccbb2ce940bf2114a7b
parent187e1e21d69faf43754ecfe79aa6b3119736a8ea
lib: move strlcpy()

Allow the function to be individually linkable, discardable, and
overridable.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/common/string.c
xen/lib/Makefile
xen/lib/strlcpy.c [new file with mode: 0644]