solution.c (394B)
1 void py_lstrip(inp) 2 char inp[]; 3 { 4 char *first_non_space_location; 5 6 for (first_non_space_location = inp; 7 *first_non_space_location != '\0' 8 && *first_non_space_location == ' '; 9 ++first_non_space_location) { 10 } 11 12 for (; 13 *first_non_space_location != '\0'; 14 ++inp, ++first_non_space_location) { 15 *inp = *first_non_space_location; 16 } 17 18 *inp = '\0'; 19 }