daemon.h
上传用户:sy_wanhua
上传日期:2013-07-25
资源大小:3048k
文件大小:2k
- /*----------------------------------------------------------------------*
- daemon.h
-
- This module has the functions needed for a program to become a daemon.
- Copyright (c) 1997-1999 Quicknet Technologies, Inc.
-
- Written by Greg Herlein <gherlein@quicknet.net>, donated to Quicknet
- Technologies, Inc. 6/10/99.
-
- * This is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License (LGPL) as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This software 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 Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA. It is also available online at
- * http://www.gnu.org/copyleft/lesser.html
-
- ----------------------------------------------------------------------*/
- #ifndef __DAEMON_H
- #define __DAEMON_H
- /*----------------------------< Defines >-------------------------------*/
- /*----------------------------< Includes >------------------------------*/
- /*---------------------------< Definitions >----------------------------*/
- /*--------------------------< Declarations >----------------------------*/
- int daemon_init(void);
- /*----------------------------------------------------------------------*/
- #endif /*__DAEMON_H */
- /*-------------------------------< End >--------------------------------*/