#include <crm_internal.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <crm/crm.h>
Go to the source code of this file.
◆ _GNU_SOURCE
Definition at line 11 of file pid.c.
◆ LOCKSTRLEN
Definition at line 82 of file pid.c.
◆ crm_lock_pidfile()
int crm_lock_pidfile |
( |
const char * |
filename, |
|
|
const char * |
name |
|
) |
| |
◆ crm_pid_active()
int crm_pid_active |
( |
long |
pid, |
|
|
const char * |
daemon |
|
) |
| |
Definition at line 21 of file pid.c.
◆ crm_pidfile_inuse()
long crm_pidfile_inuse |
( |
const char * |
filename, |
|
|
long |
mypid, |
|
|
const char * |
daemon |
|
) |
| |
◆ crm_read_pidfile()
long crm_read_pidfile |
( |
const char * |
filename | ) |
|
Definition at line 85 of file pid.c.