c what''s the differences between r and rb in fopen
On Linux, and Unix in general, quot;rquot; and quot;rbquot; are the same. More specifically, a FILE pointer obtained by fopen()ing a file in in text mode and in binary mode behaves the same way on windows, and in general, on systems that use more than one character to represent quot;newlinesquot;, a file opened in text mode behaves as if all those characters are just one character, ''n''.