installer - Several improvements
[dragonfly.git] / contrib / mdocml / test-strlcpy.c
1 #include <string.h>
2
3 int
4 main(void)
5 {
6         char buf[2] = "";
7         return( ! (1 == strlcpy(buf, "a", sizeof(buf)) &&
8             'a' == buf[0] && '\0' == buf[1]));
9 }