ossp-pkg/lmtp2nntp/lmtp2nntp_daemon.c 1.1 -> 1.2
--- lmtp2nntp_daemon.c 2001/12/31 11:09:52 1.1
+++ lmtp2nntp_daemon.c 2003/01/30 19:42:13 1.2
@@ -1,9 +1,29 @@
/*
-** daemon.c -- daemonize current process
-** Copyright (c) 1999-2000 Ralf S. Engelschall, All Rights Reserved.
+** OSSP lmtp2nntp - Mail to News Gateway
+** Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
+** Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+** Copyright (c) 2002-2003 Cable & Wireless Germany <http://www.cw.com/de/>
**
-** See "Unix Programming Frequently Asked Questions":
-** http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC10
+** This file is part of OSSP lmtp2nntp, an LMTP speaking local
+** mailer which forwards mails as Usenet news articles via NNTP.
+** It can be found at http://www.ossp.org/pkg/tool/lmtp2nntp/.
+**
+** This program is free software; you can redistribute it and/or
+** modify it under the terms of the GNU General Public License
+** as published by the Free Software Foundation; either version
+** 2.0 of the License, or (at your option) any later version.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+** General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this file; if not, write to the Free Software
+** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+** USA, or contact the OSSP project <ossp@ossp.org>.
+**
+** lmtp2nntp_daemon.c: daemonize current process
*/
#include "config.h"
@@ -19,6 +39,11 @@
#include "lmtp2nntp_daemon.h"
+/*
+ * See "Unix Programming Frequently Asked Questions":
+ * http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC10
+ */
+
int daemonize(void)
{
int fd;
|
|