Crinit -- Configurable Rootfs Init
Loading...
Searching...
No Matches
mock-mount.c File Reference

(/usr/bin/git 2025-02-19, commit: 5f1bbfa)

Implementation of a mock function for mount(). More...

#include "mock-mount.h"
#include "common.h"
#include "unit_test.h"
Include dependency graph for mock-mount.c:

Functions

int __wrap_mount (const char *source, const char *target, const char *filesystemtype, unsigned long mountflags, const void *data)
 

Detailed Description

Implementation of a mock function for mount().

Function Documentation

◆ __wrap_mount()

int __wrap_mount ( const char *  source,
const char *  target,
const char *  filesystemtype,
unsigned long  mountflags,
const void *  data 
)

Mock function for mount().

Does nothing.