Report how long each line in a file is (C Implementation)