ChimeraTK-DeviceAccess  03.18.00
ProcessManagement.cpp File Reference
#include "ProcessManagement.h"
#include <sys/types.h>
#include <cerrno>
#include <csignal>
#include <cstring>
#include <iostream>
#include <pwd.h>
#include <string>
#include <unistd.h>
+ Include dependency graph for ProcessManagement.cpp:

Go to the source code of this file.

Functions

bool processExists (unsigned pid)
 
unsigned getOwnPID ()
 
std::string getUserName ()
 

Function Documentation

◆ getOwnPID()

unsigned getOwnPID ( )

Definition at line 20 of file ProcessManagement.cpp.

◆ getUserName()

std::string getUserName ( )

Definition at line 24 of file ProcessManagement.cpp.

◆ processExists()

bool processExists ( unsigned  pid)

Definition at line 16 of file ProcessManagement.cpp.