aboutsummaryrefslogtreecommitdiffstats
path: root/src/daemon.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* daemon: simplified daemonize_close_stdin()Max Kellermann2008-12-301-16/+6
| | | | Don't bother to call fstat() or isatty() on STDIN_FILENO.
* listen: moved redirect_stdin() to daemon.cMax Kellermann2008-12-301-0/+26
| | | | | redirect_stdin() is a daemonization function, and disconnecting from the standard input is always a good idea for MPD.
* main: moved daemonize() to daemon.cMax Kellermann2008-12-301-0/+86