2016-08-30 '_exit' was not declared in this scope c++ GCC4.3以降では、明示的に必要なヘッダファイルをincludeする必要あるみたい。 #include <unistd.h>