http://stackoverflow.com/questions/1694164/is-errno-thread-safe
$ cat > test.c
#include
f() { g(errno); }$ cc -E test.c | grep ^f
f() { g((*__errno_location ())); }$
参照も書き換えも可能
http://stackoverflow.com/questions/1694164/is-errno-thread-safe
$ cat > test.c
#include
f() { g(errno); }$ cc -E test.c | grep ^f
f() { g((*__errno_location ())); }$
参照も書き換えも可能