open, close, dup, dup2, lseek, read, write, fileno, etc.

Derek Parnell derek at psych.ward
Fri Feb 8 06:12:33 PST 2008


On Fri, 8 Feb 2008 12:37:17 +0000, Janice Caron wrote:

> open, close, dup, dup2, lseek, read, write, fileno, etc....
> 
> Is there any good reason why these functions are available in Phobos
> for the Linux version of D only, but not for the Windows version?

No. So go ahead and code them then submit them to the Phobos development
team. I might just do it myself, mwahahahaha!
 
> These functions certainly do exists on Windows (albeit with names
> preceeded by a single underscore). In C and C++, you just have to
> #include <io.h>

I'm pretty sure the C versions end up calling the "Windowsy" functions
anyway.


-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell



More information about the Digitalmars-d mailing list