Re: Duplicate data between std.c.stdio and core.sys.posix.fcntl

2013-06-19 Thread Jonathan M Davis
On Wednesday, June 19, 2013 22:46:59 bioinfornatics wrote: > so we should to use O_RDONLY fnrom which module? Well, for whatever reason, it's in core.stdc.stdio on Windows, so if you're on Windows, that's what you'd use, whereas on Posix systems, it's in core.sys.posix.fcntl. I would have _thoug

Re: Duplicate data between std.c.stdio and core.sys.posix.fcntl

2013-06-19 Thread bioinfornatics
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

Re: Duplicate data between std.c.stdio and core.sys.posix.fcntl

2013-06-19 Thread Jonathan M Davis
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

Duplicate data between std.c.stdio and core.sys.posix.fcntl

2013-06-19 Thread bioinfornatics
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