On Thu, 23 Aug 2012 17:27, [email protected] said: >> file = fopen(filename, "rb"); > > b is a mode from the windows function?
"b" is a standard C mode modifier. It does nothing on POSIX systems but uses O_BINARY on DOSish systems. It is always a good idea to add 'b' if you expect binary data. Salam-Shalom, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
