pacemaker  2.0.2-debe490
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
procfs.c File Reference
#include <crm_internal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <dirent.h>
#include <ctype.h>
Include dependency graph for procfs.c:

Go to the source code of this file.


#define _GNU_SOURCE


int crm_procfs_process_info (struct dirent *entry, char *name, int *pid)
int crm_procfs_pid_of (const char *name)
unsigned int crm_procfs_num_cores (void)

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 11 of file procfs.c.

Function Documentation

unsigned int crm_procfs_num_cores ( void  )

Definition at line 144 of file procfs.c.

int crm_procfs_pid_of ( const char *  name)

Definition at line 110 of file procfs.c.

int crm_procfs_process_info ( struct dirent *  entry,
char *  name,
int *  pid 

Definition at line 39 of file procfs.c.