summaryrefslogtreecommitdiffstats
path: root/test-strlcat.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-01-01 17:14:26 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-01-01 17:14:26 +0000
commit92f665747e9d9aecac7c203e53d4eb175e662fc8 (patch)
tree343b938cade639d1cbcc09a9a00911f2789ee947 /test-strlcat.c
parent21ddc0a002b54301ac9de5f6dd73928ed0d73a94 (diff)
downloadmandoc-92f665747e9d9aecac7c203e53d4eb175e662fc8.tar.gz
Big check-in of compatibility layer. This should work on most major architectures. Thanks to Joerg Sonnenberger.
Diffstat (limited to 'test-strlcat.c')
-rw-r--r--test-strlcat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-strlcat.c b/test-strlcat.c
new file mode 100644
index 00000000..5d450dd0
--- /dev/null
+++ b/test-strlcat.c
@@ -0,0 +1,8 @@
+#include <string.h>
+
+int
+main(int argc, char **argv)
+{
+ strlcat(argv[0], argv[1], 10);
+ return 0;
+}