haiwen/seafile — pull request #809 by Chilledheart (2014-08-16 17:27:38+00:00)
Title: [lib] add seaf_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