pacemaker  2.0.4-2deceaa
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.

Macros

#define _GNU_SOURCE
 

Functions

pid_t pcmk__procfs_pid_of (const char *name)
 
unsigned int pcmk__procfs_num_cores (void)
 

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 13 of file procfs.c.

Function Documentation

unsigned int pcmk__procfs_num_cores ( void  )

Definition at line 145 of file procfs.c.

pid_t pcmk__procfs_pid_of ( const char *  name)

Definition at line 111 of file procfs.c.