taskrambler
0.1.9
Web server and task management solution.
|
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
Go to the source code of this file.
Macros | |
#define | WORKDIR "/" |
#define | UMASK 0 |
Functions | |
void | daemonize (void) |
Disconnect from parent process and let all standard file handles point to /dev/null.
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 3 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 program. If not, see http://www.gnu.org/licenses/.
Definition in file daemonize.c.
#define UMASK 0 |
Definition at line 36 of file daemonize.c.
Referenced by daemonize().
#define WORKDIR "/" |
Definition at line 35 of file daemonize.c.
void daemonize | ( | void | ) |
Definition at line 38 of file daemonize.c.
References UMASK.
Referenced by main().