From 73aca81b50073109b137bba659d38af11d7194ac Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 1 Jan 2010 17:14:26 +0000 Subject: Big check-in of compatibility layer. This should work on most major architectures. Thanks to Joerg Sonnenberger. --- test-strlcpy.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test-strlcpy.c (limited to 'test-strlcpy.c') diff --git a/test-strlcpy.c b/test-strlcpy.c new file mode 100644 index 00000000..c7d182aa --- /dev/null +++ b/test-strlcpy.c @@ -0,0 +1,8 @@ +#include + +int +main(int argc, char **argv) +{ + strlcpy(argv[0], argv[1], 10); + return 0; +} -- cgit v1.2.3-56-ge451