dfork.h

Go to the documentation of this file.
00001 #ifndef foodaemonforkhfoo
00002 #define foodaemonforkhfoo
00003 
00004 /*
00005  * This file is part of libdaemon.
00006  *
00007  * libdaemon is free software; you can redistribute it and/or modify it
00008  * under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; either version 2 of the License, or
00010  * (at your option) any later version.
00011  *
00012  * libdaemon is distributed in the hope that it will be useful, but
00013  * WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00015  * General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with libdaemon; if not, write to the Free Software Foundation,
00019  * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
00020  */
00021 
00022 #include <sys/types.h>
00023 
00055 pid_t daemon_fork(void);
00056 
00063 int daemon_retval_init(void);
00064 
00072 void daemon_retval_done(void);
00073 
00083 int daemon_retval_wait(int timeout);
00084 
00092 int daemon_retval_send(int s);
00093 
00094 #endif

Generated on Sun Jan 6 12:12:17 2008 for libdaemon by  doxygen 1.4.7