View previous topic :: View next topic |
Author |
Message |
jcomellas
Joined: 30 Jan 2006 Posts: 22 Location: Buenos Aires, Argentina
|
Posted: Thu Feb 23, 2006 10:12 am Post subject: errno |
|
|
I need the definitions for errno for Linux and I haven't been able to find them neither in Phobos nor in Ares. I'd like to add them to Ares. What is the correct place where to put them? |
|
Back to top |
|
|
sean
Joined: 24 Jun 2004 Posts: 609 Location: Bay Area, CA
|
Posted: Thu Feb 23, 2006 10:34 am Post subject: |
|
|
You mean the macros "Exxx" ? Technically, they're not a part of the C standard, however they're mentioned in the "future library directions" section as a possible addition to errno.h, so put them in std.c.errno Just be sure to wrap them in a "version( linux )" block. Perhaps I'll add the Win32 errors as well. |
|
Back to top |
|
|
jcomellas
Joined: 30 Jan 2006 Posts: 22 Location: Buenos Aires, Argentina
|
Posted: Thu Feb 23, 2006 11:49 am Post subject: |
|
|
sean wrote: | You mean the macros "Exxx" ? Technically, they're not a part of the C standard, however they're mentioned in the "future library directions" section as a possible addition to errno.h, so put them in std.c.errno Just be sure to wrap them in a "version( linux )" block. Perhaps I'll add the Win32 errors as well. |
Yes, that's what I meant. I'll add them. How should I send them to you? |
|
Back to top |
|
|
sean
Joined: 24 Jun 2004 Posts: 609 Location: Bay Area, CA
|
Posted: Thu Feb 23, 2006 3:03 pm Post subject: |
|
|
Via email or PM. |
|
Back to top |
|
|
|