Note that <code>strlen(line+1) == strlen(line)-1</code> and the former is (a) marginally cheaper to compute (saves strlen checking line[0] isn't '\0', which I take it you already know) and (b) more apt in light of the fact that it's the text starting at line[1] that you're planning to read out of the buffer.