Change type and name of function argument of checkEnvironAndKillProcess.

type:
int -> pid_t

name:
killPid ->
    pid
Change variable name.

flagABNormalEndMagicNumber ->
flagAbnormalEnd
Add process to check PID in /proc/ directory.