www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

D - errno

↑ ↓ ← "Matthew" <matthew.hat stlsoft.dot.org> writes:
Do we have C's errno available in D?
Dec 18 2003
↑ ↓ "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
↑ ↓ "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
↑ ↓ → "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