Introduction - If you have any usage issues, please Google them yourself
Individual written a very useful function, you can set the program to become a background daemon, called very simple, the program can call the function deamon, the following is the function prototype int daemon (int nochdir, int noclose) which nochdir as to whether changes current directory