xref: /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/linux/errno.d (revision 0a3071956a3a9fdebdbf7f338cf2d439b45fc728)
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 @system:
12 
13 public import core.stdc.errno;
14 import core.sys.linux.config;
15 
16 static if (_GNU_SOURCE)
17 {
18     extern __gshared char* program_invocation_name, program_invocation_short_name;
19     alias error_t = int;
20 }
21