Why File is exists in std.stdio and in std.file?

FreeSlave via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Apr 25 00:19:46 PDT 2017


On Tuesday, 25 April 2017 at 07:05:51 UTC, Suliman wrote:
> Just interesting. Is there any rational reasons for this 
> decision?

There's no File in std.file. It's located in std.stdio.
std.stdio and std.file are different modules. The first one has 
safe wrappers around stdio.h from C library, the second one 
provides operations on files as unit.


More information about the Digitalmars-d-learn mailing list