www.digitalmars.com         C & C++   DMDScript  

D - errno

reply "Matthew" <matthew.hat stlsoft.dot.org> writes:
Do we have C's errno available in D?
Dec 18 2003
parent reply "Walter" <walter digitalmars.com> writes:
"Matthew" <matthew.hat stlsoft.dot.org> wrote in message
news:brt3ss$1ejg$1 digitaldaemon.com...
 Do we have C's errno available in D?

There's std.c.linux.linux.getErrno()
Dec 18 2003
parent reply "Matthew" <matthew.hat stlsoft.dot.org> writes:
 Do we have C's errno available in D?

There's std.c.linux.linux.getErrno()

And can we set it? What about Win32?
Dec 18 2003
parent "Walter" <walter digitalmars.com> writes:
"Matthew" <matthew.hat stlsoft.dot.org> wrote in message
news:brtb2k$1pi4$1 digitaldaemon.com...
 Do we have C's errno available in D?

There's std.c.linux.linux.getErrno()

And can we set it?

No.
 What about Win32?

I suppose I should add a setErrno() and getErrno() <g>.
Dec 18 2003