open, close, dup, dup2, lseek, read, write, fileno, etc.
David Wilson
dw at botanicus.net
Mon Feb 11 07:52:54 PST 2008
- Previous message: open, close, dup, dup2, lseek, read, write, fileno, etc.
- Next message: open, close, dup, dup2, lseek, read, write, fileno, etc.
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
On 2/9/08, Bruce Adams <tortoise_74 at yeah.who.co.uk> wrote:
> Unfortunately this is so. A long time ago the POSIX standard was invented
> (or rather brought together from some early Unixes) and though low-level
> (not OO for a start) it is solid and reliable.
> The idea being if you want to write portable code you write it using only
> POSIX
> functionality.
> M$ in their finite wisdom chose to tear up the standard and invent their
> own
> and then pretend they supported it. The result is it is practically
> impossible
> to write portable code without having another wrapper layer inbetween.
ANSI C (including the standard library) wasn't standardised until
1990. The first versions of MS-DOS appeared in 1982. POSIX didn't
appear until 1988. Which standard are you referring to, or is this
just more of the same uninformed Microsoft bashing?
David.
> This is
> where language standard libraries are a godsend. Though its hard to find
> good
> portable implementations of non-blocking IO and file locking.
> I suspect this may be an area where Tango is ahead of Phobos but not
> knowing
> both APIs well I'm not in a position to comment.
>
- Previous message: open, close, dup, dup2, lseek, read, write, fileno, etc.
- Next message: open, close, dup, dup2, lseek, read, write, fileno, etc.
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Digitalmars-d
mailing list