memcmp putstr strcpy strdup