libm: Fix misleading indent.
[dragonfly.git] / contrib / mdocml / test-strlcat.c
blobb74ce6f4f8f38920eefc004afdc9b6c2d4a011d1
1 #include <string.h>
3 int
4 main(void)
6 char buf[3] = "a";
7 return( ! (2 == strlcat(buf, "b", sizeof(buf)) &&
8 'a' == buf[0] && 'b' == buf[1] && '\0' == buf[2]));