#include "OW_config.h"
#include "OW_PidFile.hpp"
#include "OW_File.hpp"
#include "OW_FileSystem.hpp"
#include "OW_String.hpp"
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <signal.h>
#include <errno.h>
#include <sys/stat.h>
#include <fcntl.h>
Include dependency graph for OW_PidFile.cpp:
Go to the source code of this file.
Namespaces | |
namespace | OW_NAMESPACE |
namespace | OW_NAMESPACE::PidFile |
Functions | |
int | OW_NAMESPACE::PidFile::readPid (const char *pidfile) |
Read the contents of a pid file and return the results. | |
int | OW_NAMESPACE::PidFile::checkPid (const char *pidfile) |
Ensure the pid file corresponds to a currently running process. | |
int | OW_NAMESPACE::PidFile::writePid (const char *pidfile) |
Writes the pid to the specified file. | |
int | OW_NAMESPACE::PidFile::removePid (const char *pidfile) |
Remove a pid file. |