MPD: PidFile Class Reference

MPD 0.20.18

Public Member Functions
PidFile Class Reference

`#include <PidFile.hxx>`

## Public Member Functions
| PidFile (const AllocatedPath &path)
| PidFile (const PidFile &)=delete
void | Close ()
void | Delete (const AllocatedPath &path)
void | Write (pid_t pid)
void | Write ()

## Detailed Description

Definition at line 33 of file PidFile.hxx.

## Constructor & Destructor Documentation

## ◆ PidFile() [1/2]

PidFile::PidFile | ( | const AllocatedPath & | path | ) |
| inline

Definition at line 37 of file PidFile.hxx.

## ◆ PidFile() [2/2]

PidFile::PidFile | ( | const PidFile & |  | ) |
| delete

## Member Function Documentation

## ◆ Close()

void PidFile::Close | ( |  | ) |
| inline

Definition at line 51 of file PidFile.hxx.

## ◆ Delete()

void PidFile::Delete | ( | const AllocatedPath & | path | ) |
| inline

Definition at line 58 of file PidFile.hxx.

## ◆ Write() [1/2]

void PidFile::Write | ( | pid_t | pid | ) |
| inline

Definition at line 70 of file PidFile.hxx.

## ◆ Write() [2/2]

void PidFile::Write | ( |  | ) |
| inline

Definition at line 81 of file PidFile.hxx.

The documentation for this class was generated from the following file:

- unix/PidFile.hxx