|
Crinit -- Configurable Rootfs Init
|
Implementation of a mock function for strlen(). More...

Functions | |
| size_t | __wrap_strlen (const char *s) |
Variables | |
| bool | crinitMockStrlenEnabled = false |
Implementation of a mock function for strlen().
| size_t __wrap_strlen | ( | const char * | s | ) |
Mock function for strlen().
If crinitMockStrlenEnabled is true then it checks that the right parameters are given and returns a preset value. If crinitMockStrlenEnabled is false then the call is forwarded to the genuine strlen method.
| bool crinitMockStrlenEnabled = false |