#include #include int main(int argc, char **argv) { char buf[10]; char *buf2; strlcpy(buf, "foo", sizeof buf2); return 1; }