1 #include <string.h> 2 3 int main(void)4 main(void) 5 { 6 char buf[3] = "a"; 7 return( ! (2 == strlcat(buf, "b", sizeof(buf)) && 8 'a' == buf[0] && 'b' == buf[1] && '\0' == buf[2])); 9 } 10