Add daemon.c
Merge branch 'master' of https://github.com/song-git/PNlib