libphobos/libdruntime/core/sys/linux/errno.d
raw| 1 | /** |
| 2 | * D header file for GNU/Linux |
| 3 | * |
| 4 | * $(LINK2 http://sourceware.org/git/?p=glibc.git;a=blob;f=stdlib/errno.h, glibc stdlib/errno.h) |
| 5 | */ |
| 6 | module core.sys.linux.errno; |
| 7 | |
| 8 | version (linux): |
| 9 | extern (C): |
| 10 | nothrow: |
| 11 | |
| 12 | public import core.stdc.errno; |
| 13 | import core.sys.linux.config; |
| 14 | |
| 15 | static if (_GNU_SOURCE) |
| 16 | { |
| 17 | extern __gshared char* program_invocation_name, program_invocation_short_name; |
| 18 | alias error_t = int; |
| 19 | } |