|
LIPH's C++ Codes
|
#include <sys/file.h>#include <cstdio>#include <cstdlib>#include <cstring>#include <iostream>#include <string>#include "liph/format.h"#include "liph/macros.h"Go to the source code of this file.
Namespaces | |
| namespace | liph |
Macros | |
| #define | BD_NO_CHDIR 1 |
| #define | BD_NO_CLOSE_FILES 2 |
| #define | BD_NO_REOPEN_STD_FDS 4 |
| #define | BD_NO_UMASK0 8 |
| #define | BD_MAX_CLOSE 8192 |
Functions | |
| void | liph::err_exit (const char *str=nullptr) |
| void | liph::err_exit (const std::string &str) |
| void | liph::err_exit_if (bool error) |
| void | liph::bzero (void *p, size_t n) |
| int | liph::become_daemon (int flags) |
| bool | liph::single_proc (const char *lock_file_path, bool exit) |
| #define BD_MAX_CLOSE 8192 |
| #define BD_NO_CHDIR 1 |
| #define BD_NO_CLOSE_FILES 2 |
| #define BD_NO_REOPEN_STD_FDS 4 |
| #define BD_NO_UMASK0 8 |