stdio performance in tango, stdlib, and perl

Anders F Björklund afb at algonet.se
Thu Mar 22 05:38:29 PDT 2007


Vladimir Panteleev wrote:

> When readln gives you the line with a line ending, you have three cases:
> 1) a CR/LF line ending (Windows)
> 2) LF line ending (Unix)
> 3) no line ending at all (EOF)

Actually it is even four:
4) CR line ending (Mac)

But that's just for files coming from the old Mac OS (9),
normally Mac OS X uses Unix linefeeds for line endings...

--anders



More information about the Digitalmars-d mailing list