music player daemon (fork)
Go to file
Michal Nazarewicz bfed1c04cc daemon: daemonize_close_stdin() optimised.
Changed function to first close standard input (this may
fail but we don't care) and then try to open /dev/null (this
may fail but it shouldn't on Unix platforms plus we don't
know what to do in such case anyways).  Since standard input
has the "zeroth" descriptor number next "open" will use it.

Since there is no "/dev/null" on Windows (It's not even
a valid path!) the second step is skipped if WIN32 is
defined.

As a final touch, since the function consists of merely two
function calls it has been moved to header file and declared
static inline.

[mk: un-inline daemonize_close_stdin()]
2009-07-22 13:43:21 +02:00
doc daemon: added "group" configuration option 2009-07-19 08:17:55 +02:00
m4 configure.ac: use $FAAD_LIBS in libmp4ff check 2009-05-26 16:00:23 +02:00
scripts scripts: Remove mpd.spec, it was always half-baked. 2009-04-29 02:43:04 -07:00
src daemon: daemonize_close_stdin() optimised. 2009-07-22 13:43:21 +02:00
test Add audio_format_init() function 2009-07-19 16:54:11 +01:00
.gitignore test: added program "run_filter" 2009-07-05 06:54:48 +02:00
AUTHORS AUTHORS: added a bunch of new developers 2009-04-01 17:42:35 +02:00
autogen.sh autogen.sh: don't check for autoconf <2.60 2009-06-25 11:53:34 +02:00
configure.ac Merged release 0.15.1 from branch 'v0.15.x' 2009-07-16 07:37:13 +02:00
COPYING Update the text of the GPLv2, this fixes the address and a few other oddities. 2008-12-20 19:02:09 -08:00
INSTALL decoder/sndfile: new decoder plugin based on libsndfile 2009-07-07 08:58:51 +02:00
Makefile.am Merge branch 'master' of git://git.infradead.org/users/dwmw2/mpd 2009-07-19 18:18:32 +02:00
NEWS Merged release 0.15.1 from branch 'v0.15.x' 2009-07-16 07:37:13 +02:00
README Word wrap to 80 char lines 2008-12-20 19:27:02 -08:00
UPGRADING UPGRADING: added a 0.14 section 2008-11-05 21:27:30 +01:00
valgrind.suppressions updated valgrind.suppressions 2009-03-26 19:50:34 +01:00

		       Music Player Daemon (MPD)
			http://www.musicpd.org

A daemon for playing music of various formats.  Music is played through the 
server's audio device.  The daemon stores info about all available music, 
and this info can be easily searched and retrieved.  Player control, info
retrieval, and playlist management can all be managed remotely.

For basic installation information see the INSTALL file.

MPD is released under the GNU General Public License version 2, which is
distributed in the COPYING file.

You should have received a copy of the GNU General Public License along with
this program.  If not, see <http://www.gnu.org/licenses/>.