[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Workaround in 0.6.0
[Thread Prev] | [Thread Next]
- Subject: Re: Workaround in 0.6.0
- From: Werner Koch <wk@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 20 Sep 2012 13:04:43 +0200
- To: libssh@xxxxxxxxxx
On Thu, 23 Aug 2012 17:27, asn@xxxxxxxxxxxxxx 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.
Archive administrator: postmaster@lists.cynapses.org