[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [MiNT] Here documents and CRLF



> From: owner-mint@fishpool.com [mailto:owner-mint@fishpool.com]On Behalf
> Of Guido Flohr
> Sent: Wednesday, June 16, 1999 2:28 AM
> To: MiNT mailing list
> Subject: Re: [MiNT] Here documents and CRLF
> ...
> I think the only part of UNIXMODE that gets evaluated by the MiNTLib is
> the "b" resp. the missing "b".  As far as I remember there is an internal
> function _binmode() (or was it a global variable) that you can manually
> set.  For FILE*-stream, you can also pass "rb" instead of "b" in the open
> type argument.

Actually, you *have* to pass "b" if it is meant to be binary -- everything
else is not proper ANSI-C.