kernel - cleanup vfs_cache debugging
[dragonfly.git] / contrib / mdocml / test-strlcpy.c
blob05fa509455c019e98b41170b9e6d56de6a96877b
1 #include <string.h>
3 int
4 main(void)
6 char buf[2] = "";
7 return( ! (1 == strlcpy(buf, "a", sizeof(buf)) &&
8 'a' == buf[0] && '\0' == buf[1]));