pacemaker  2.1.1-52dc28db4
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 ENOTUNIQ   190
 
#define ECOMM   191
 
#define ELIBACC   192
 
#define EREMOTEIO   193
 
#define EUNATCH   194
 
#define ENOKEY   195
 
#define ENODATA   196
 
#define ETIME   197
 
#define ENOSR   198
 
#define ENOSTR   199
 
#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 123 of file portability.h.

◆ EKEYREJECTED

#define EKEYREJECTED   200

Definition at line 159 of file portability.h.

◆ ELIBACC

#define ELIBACC   192

Definition at line 127 of file portability.h.

◆ ENODATA

#define ENODATA   196

Definition at line 143 of file portability.h.

◆ ENOKEY

#define ENOKEY   195

Definition at line 139 of file portability.h.

◆ ENOSR

#define ENOSR   198

Definition at line 151 of file portability.h.

◆ ENOSTR

#define ENOSTR   199

Definition at line 155 of file portability.h.

◆ ENOTUNIQ

#define ENOTUNIQ   190

Definition at line 119 of file portability.h.

◆ EREMOTEIO

#define EREMOTEIO   193

Definition at line 131 of file portability.h.

◆ ETIME

#define ETIME   197

Definition at line 147 of file portability.h.

◆ EUNATCH

#define EUNATCH   194

Definition at line 135 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 
)