[process] [thread] [time] remove unused using, no warning in clang
[file] chdir function
[file] std input output
[file] std I/O, fgetc, fgets, fputc, fputs
[process] change getpid return type to long for portability