#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 13 of file pid.c.
 
 
◆ LOCKSTRLEN
◆ pcmk__lock_pidfile()
      
        
          | int pcmk__lock_pidfile  | 
          ( | 
          const char *  | 
          filename,  | 
        
        
           | 
           | 
          const char *  | 
          name  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ pcmk__pid_active()
      
        
          | int pcmk__pid_active  | 
          ( | 
          pid_t  | 
          pid,  | 
        
        
           | 
           | 
          const char *  | 
          daemon  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 23 of file pid.c.
 
 
◆ pcmk__pidfile_matches()
      
        
          | int pcmk__pidfile_matches  | 
          ( | 
          const char *  | 
          filename,  | 
        
        
           | 
           | 
          pid_t  | 
          expected_pid,  | 
        
        
           | 
           | 
          const char *  | 
          expected_name,  | 
        
        
           | 
           | 
          pid_t *  | 
          pid  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ pcmk__read_pidfile()
      
        
          | int pcmk__read_pidfile  | 
          ( | 
          const char *  | 
          filename,  | 
        
        
           | 
           | 
          pid_t *  | 
          pid  | 
        
        
           | 
          ) | 
           |  |