Duplicate data between std.c.stdio and core.sys.posix.fcntl
bioinfornatics
bioinfornatics at fedoraproject.org
Wed Jun 19 13:46:59 PDT 2013
On Wednesday, 19 June 2013 at 17:48:49 UTC, Jonathan M Davis
wrote:
> On Wednesday, June 19, 2013 18:50:26 bioinfornatics wrote:
>> i think they are some duplicate data between std.c.stdio and
>> core.sys.posix.fcntl
>>
>> Both module define
>> O_RDONLY O_WRONLY, O_RDWR, O_APPEND,O_CREAT, O_TRUNC,
>> O_EXCL
>>
>> maybe std.c.stdio should to use version poix winows and
>> whatever
>> to load these data
>
> Everything in std.c.* should just be publicly importing the
> corresponding stuff
> from core, and arguably, those modules should be deprecated. We
> moved all of
> that stuff to core ages ago. I'm surprised to see anything in
> std.c.stdio other
> than a public import.
>
> - Jonathan M Davis
so we should to use O_RDONLY fnrom which module?
More information about the Digitalmars-d-learn
mailing list