haiwen/ccnet — pull request #69 by Chilledheart (2014-08-16 17:24:34+00:00)
Title: [lib] add ccnet_daemonize

- refer to [daemon(3)](https://github.com/freebsd/freebsd/blob/master/lib/libc/gen/daemon.c#L45-L95) in libc (which is shipped with a BSD variant) for convenience