NAME

unix::daemon — Convert the current process to a daemon.

synopsis

wyrm::unix::daemon

description

Convert the process to a daemon. Actually make a grandchild of the current process a daemon and exit the intervening processes. The standard files, input, output, and error, are all closed and reopenned to /dev/null.