From: Marcin 'Qrczak' Kowalczyk (email@example.com)
Date: Thu Jan 20 2005 - 17:18:15 CST
Lars Kristan <firstname.lastname@example.org> writes:
> * On UNIX, fopen is always binary, text mode is rare and even then
> very close to binary.
> * On UNIX, text mode often doesn't apply, so UNIX is by default in
> binary mode.
Formally, the text/binary mode distinction for stdio is specified in
the C standard, with the default being the text mode.
For any POSIX-conforming C implementation the text and binary modes
are identical though.
When C was born together with Unix, it did not have the distinction
of course. I don't know when it got added.
-- __("< Marcin Kowalczyk \__/ email@example.com ^^ http://qrnik.knm.org.pl/~qrczak/
This archive was generated by hypermail 2.1.5 : Thu Jan 20 2005 - 17:21:49 CST