root/trunk/tango/stdc/errno.d
| Revision 5182, 395 bytes (checked in by kris, 3 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | /** |
| 2 | * D header file for C99. |
| 3 | * |
| 4 | * Copyright: Public Domain |
| 5 | * License: Public Domain |
| 6 | * Authors: Sean Kelly |
| 7 | * Standards: ISO/IEC 9899:1999 (E) |
| 8 | */ |
| 9 | module tango.stdc.errno; |
| 10 | public import tango.sys.consts.errno; |
| 11 | |
| 12 | private |
| 13 | { |
| 14 | extern (C) int getErrno(); |
| 15 | extern (C) int setErrno(int); |
| 16 | } |
| 17 | |
| 18 | int errno() { return getErrno(); } |
| 19 | int errno( int val ) { return setErrno( val ); } |
Note: See TracBrowser for help on using the browser.












