pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

#define _GNU_SOURCE

Definition at line 15 of file portability.h.

#define ECOMM   191

Definition at line 118 of file portability.h.

#define EKEYREJECTED   200

Definition at line 154 of file portability.h.

#define ELIBACC   192

Definition at line 122 of file portability.h.

#define ENODATA   196

Definition at line 138 of file portability.h.

#define ENOKEY   195

Definition at line 134 of file portability.h.

#define ENOSR   198

Definition at line 146 of file portability.h.

#define ENOSTR   199

Definition at line 150 of file portability.h.

#define ENOTUNIQ   190

Definition at line 114 of file portability.h.

#define EREMOTEIO   193

Definition at line 126 of file portability.h.

#define ETIME   197

Definition at line 142 of file portability.h.

#define EUNATCH   194

Definition at line 130 of file portability.h.

Function Documentation

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