>>696
buf[4] = '\0';