>>482
テキストモードだと、3.の動作が保証されないみたい。
http://www.bohyoh.com/CandCPP/C/Library/fseek.html

バイナリモードだと、dosやmacで、\nが使えないし。