Crinit -- Configurable Rootfs Init
|
Header declaring a mock function for getpwnam_r(). More...
#include <fcntl.h>
#include <pwd.h>
#include <stddef.h>
#include <sys/stat.h>
Go to the source code of this file.
Functions | |
int | __wrap_getpwnam_r (const char *__restrict name, struct passwd *__restrict resultbuf, char *__restrict buffer, size_t buflen, struct passwd **__restrict result) |
Header declaring a mock function for getpwnam_r().
int __wrap_getpwnam_r | ( | const char *__restrict | name, |
struct passwd *__restrict | resultbuf, | ||
char *__restrict | buffer, | ||
size_t | buflen, | ||
struct passwd **__restrict | result | ||
) |
Mock function for getpwnam_r().
Checks that the right parameters are given and return a preset value.