1 #pragma once 2 3 #ifdef __cplusplus 4 extern "C" { 5 #endif 6 7 #include <features.h> 8 9 #include <bits/errno.h> 10 11 int* __errno_location(void); 12 #define errno (*__errno_location()) 13 14 #ifdef _GNU_SOURCE 15 extern char *program_invocation_short_name, *program_invocation_name; 16 #endif 17 18 #ifdef __cplusplus 19 } 20 #endif 21