#include <pwd.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/utsname.h>
#include <unistd.h>
#include <grp.h>
Go to the source code of this file.
|
void * | __real_calloc (size_t nmemb, size_t size) |
|
void * | __wrap_calloc (size_t nmemb, size_t size) |
|
FILE * | __real_fopen (const char *pathname, const char *mode) |
|
FILE * | __wrap_fopen (const char *pathname, const char *mode) |
|
char * | __real_getenv (const char *name) |
|
char * | __wrap_getenv (const char *name) |
|
int | __real_setenv (const char *name, const char *value, int overwrite) |
|
int | __wrap_setenv (const char *name, const char *value, int overwrite) |
|
int | __real_unsetenv (const char *name) |
|
int | __wrap_unsetenv (const char *name) |
|
pid_t | __real_getpid (void) |
|
pid_t | __wrap_getpid (void) |
|
void | __real_setgrent (void) |
|
void | __wrap_setgrent (void) |
|
struct group * | __wrap_getgrent (void) |
|
struct group * | __real_getgrent (void) |
|
void | __wrap_endgrent (void) |
|
void | __real_endgrent (void) |
|
int | __real_getpwnam_r (const char *name, struct passwd *pwd, char *buf, size_t buflen, struct passwd **result) |
|
int | __wrap_getpwnam_r (const char *name, struct passwd *pwd, char *buf, size_t buflen, struct passwd **result) |
|
ssize_t | __real_readlink (const char *restrict path, char *restrict buf, size_t bufsize) |
|
ssize_t | __wrap_readlink (const char *restrict path, char *restrict buf, size_t bufsize) |
|
char * | __real_strdup (const char *s) |
|
char * | __wrap_strdup (const char *s) |
|
int | __real_uname (struct utsname *buf) |
|
int | __wrap_uname (struct utsname *buf) |
|
◆ __real_calloc()
void* __real_calloc |
( |
size_t |
nmemb, |
|
|
size_t |
size |
|
) |
| |
◆ __real_endgrent()
void __real_endgrent |
( |
void |
| ) |
|
◆ __real_fopen()
FILE* __real_fopen |
( |
const char * |
pathname, |
|
|
const char * |
mode |
|
) |
| |
◆ __real_getenv()
char* __real_getenv |
( |
const char * |
name | ) |
|
◆ __real_getgrent()
struct group* __real_getgrent |
( |
void |
| ) |
|
◆ __real_getpid()
pid_t __real_getpid |
( |
void |
| ) |
|
◆ __real_getpwnam_r()
int __real_getpwnam_r |
( |
const char * |
name, |
|
|
struct passwd * |
pwd, |
|
|
char * |
buf, |
|
|
size_t |
buflen, |
|
|
struct passwd ** |
result |
|
) |
| |
◆ __real_readlink()
ssize_t __real_readlink |
( |
const char *restrict |
path, |
|
|
char *restrict |
buf, |
|
|
size_t |
bufsize |
|
) |
| |
◆ __real_setenv()
int __real_setenv |
( |
const char * |
name, |
|
|
const char * |
value, |
|
|
int |
overwrite |
|
) |
| |
◆ __real_setgrent()
void __real_setgrent |
( |
void |
| ) |
|
◆ __real_strdup()
char* __real_strdup |
( |
const char * |
s | ) |
|
◆ __real_uname()
int __real_uname |
( |
struct utsname * |
buf | ) |
|
◆ __real_unsetenv()
int __real_unsetenv |
( |
const char * |
name | ) |
|
◆ __wrap_calloc()
void* __wrap_calloc |
( |
size_t |
nmemb, |
|
|
size_t |
size |
|
) |
| |
◆ __wrap_endgrent()
void __wrap_endgrent |
( |
void |
| ) |
|
◆ __wrap_fopen()
FILE* __wrap_fopen |
( |
const char * |
pathname, |
|
|
const char * |
mode |
|
) |
| |
◆ __wrap_getenv()
char* __wrap_getenv |
( |
const char * |
name | ) |
|
◆ __wrap_getgrent()
struct group* __wrap_getgrent |
( |
void |
| ) |
|
◆ __wrap_getpid()
pid_t __wrap_getpid |
( |
void |
| ) |
|
◆ __wrap_getpwnam_r()
int __wrap_getpwnam_r |
( |
const char * |
name, |
|
|
struct passwd * |
pwd, |
|
|
char * |
buf, |
|
|
size_t |
buflen, |
|
|
struct passwd ** |
result |
|
) |
| |
◆ __wrap_readlink()
ssize_t __wrap_readlink |
( |
const char *restrict |
path, |
|
|
char *restrict |
buf, |
|
|
size_t |
bufsize |
|
) |
| |
◆ __wrap_setenv()
int __wrap_setenv |
( |
const char * |
name, |
|
|
const char * |
value, |
|
|
int |
overwrite |
|
) |
| |
◆ __wrap_setgrent()
void __wrap_setgrent |
( |
void |
| ) |
|
◆ __wrap_strdup()
char* __wrap_strdup |
( |
const char * |
s | ) |
|
◆ __wrap_uname()
int __wrap_uname |
( |
struct utsname * |
buf | ) |
|
◆ __wrap_unsetenv()
int __wrap_unsetenv |
( |
const char * |
name | ) |
|
◆ pcmk__mock_calloc
◆ pcmk__mock_fopen
◆ pcmk__mock_getenv
◆ pcmk__mock_getpid
◆ pcmk__mock_getpwnam_r
bool pcmk__mock_getpwnam_r |
◆ pcmk__mock_grent
◆ pcmk__mock_readlink
◆ pcmk__mock_setenv
◆ pcmk__mock_strdup
◆ pcmk__mock_uname
◆ pcmk__mock_unsetenv