* Given a string containing extensions (i.e. a NULL terminated string where * each extension are separated by a space and which names do not contain any * space) */ void __allegro_gl_print_extensions(AL_CONST char * extension) { char buf[80]; char* start; while (*extension != '\0') { start = buf; strncpy(buf, extension, 80); while ((*start != ' ') && (*start != '\0')) { extension++; start++; } *start = '\0'; extension ++; TRACE(PREFIX_I "%s\n", buf); } }