www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - SysError.msg()

reply Benjamin Herr <ben 0x539.de> writes:
Hell, brave D world,

why is SysError.msg() (from std.syserror) not implemented like this?

#extern (C) char* strerror(int errnum);








As far as I know, strerror() is supposed to be portable enough.

-ben
Jan 30 2005
next sibling parent reply Benjamin Herr <ben 0x539.de> writes:
Benjamin Herr wrote:
 Hell, brave D world,
Needs more o. Sorry.
Jan 30 2005
parent pragma <pragma_member pathlink.com> writes:
In article <ctjgvp$196f$4 digitaldaemon.com>, Benjamin Herr says...
Benjamin Herr wrote:
 Hell, brave D world,
Needs more o. Sorry.
Actually, its more accurate the way it was. We're still Beta. - EricAnderton at yahoo
Jan 30 2005
prev sibling parent "Regan Heath" <regan netwin.co.nz> writes:
On Sun, 30 Jan 2005 21:36:44 +0100, Benjamin Herr <ben 0x539.de> wrote:
 Hell, brave D world,

 why is SysError.msg() (from std.syserror) not implemented like this?

 #extern (C) char* strerror(int errnum);








 As far as I know, strerror() is supposed to be portable enough.
Try this one. Regan
Jan 31 2005