while(fgets(mybuffer, sizeof(mybuffer), myfilepointerName)) {
if(mybuffer[0] == '\n');
//you found a blank line
}


I haven't tried this, but it should work.