pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
Macros | Functions
portability.h File Reference
#include <dirent.h>
#include <errno.h>
Include dependency graph for portability.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 
#define PCMK__ENOTUNIQ
 
#define ENOTUNIQ   190
 
#define PCMK__ECOMM
 
#define ECOMM   191
 
#define PCMK__ELIBACC
 
#define ELIBACC   192
 
#define PCMK__EREMOTIO
 
#define EREMOTEIO   193
 
#define PCMK__ENOKEY
 
#define ENOKEY   195
 
#define PCMK__ENODATA
 
#define ENODATA   196
 
#define PCMK__ETIME
 
#define ETIME   197
 
#define PCMK__EKEYREJECTED
 
#define EKEYREJECTED   200
 

Functions

int daemon (int nochdir, int noclose)
 
int setenv (const char *name, const char *value, int why)
 
char * strerror (int errnum)
 
char * strchrnul (const char *s, int c_in)
 
int alphasort (const void *dirent1, const void *dirent2)
 
size_t strnlen (const char *s, size_t maxlen)
 
char * strndup (const char *str, size_t len)
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Definition at line 20 of file portability.h.

◆ ECOMM

#define ECOMM   191

Definition at line 125 of file portability.h.

◆ EKEYREJECTED

#define EKEYREJECTED   200

Definition at line 155 of file portability.h.

◆ ELIBACC

#define ELIBACC   192

Definition at line 130 of file portability.h.

◆ ENODATA

#define ENODATA   196

Definition at line 145 of file portability.h.

◆ ENOKEY

#define ENOKEY   195

Definition at line 140 of file portability.h.

◆ ENOTUNIQ

#define ENOTUNIQ   190

Definition at line 120 of file portability.h.

◆ EREMOTEIO

#define EREMOTEIO   193

Definition at line 135 of file portability.h.

◆ ETIME

#define ETIME   197

Definition at line 150 of file portability.h.

◆ PCMK__ECOMM

#define PCMK__ECOMM

Definition at line 124 of file portability.h.

◆ PCMK__EKEYREJECTED

#define PCMK__EKEYREJECTED

Definition at line 154 of file portability.h.

◆ PCMK__ELIBACC

#define PCMK__ELIBACC

Definition at line 129 of file portability.h.

◆ PCMK__ENODATA

#define PCMK__ENODATA

Definition at line 144 of file portability.h.

◆ PCMK__ENOKEY

#define PCMK__ENOKEY

Definition at line 139 of file portability.h.

◆ PCMK__ENOTUNIQ

#define PCMK__ENOTUNIQ

Definition at line 119 of file portability.h.

◆ PCMK__EREMOTIO

#define PCMK__EREMOTIO

Definition at line 134 of file portability.h.

◆ PCMK__ETIME

#define PCMK__ETIME

Definition at line 149 of file portability.h.

Function Documentation

◆ alphasort()

int alphasort ( const void *  dirent1,
const void *  dirent2 
)

◆ daemon()

int daemon ( int  nochdir,
int  noclose 
)

◆ setenv()

int setenv ( const char *  name,
const char *  value,
int  why 
)

◆ strchrnul()

char* strchrnul ( const char *  s,
int  c_in 
)

◆ strerror()

char* strerror ( int  errnum)

◆ strndup()

char* strndup ( const char *  str,
size_t  len 
)

◆ strnlen()

size_t strnlen ( const char *  s,
size_t  maxlen 
)