Crinit -- Configurable Rootfs Init
mock-stpcpy.h File Reference

(2023-10-16, commit: 49337e0)

Header declaring a mock function for stpcpy(). More...

#include <string.h>
Include dependency graph for mock-stpcpy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

char * __wrap_stpcpy (char *dest, const char *src)
 

Detailed Description

Header declaring a mock function for stpcpy().

Function Documentation

◆ __wrap_stpcpy()

char* __wrap_stpcpy ( char *  dest,
const char *  src 
)

Mock function for stpcpy().

Checks that the right parameter is given and returns a preset pointer.