rework structure
This commit is contained in:
10
hifive1-vp/hello/bsp/libwrap/sys/stat.c
Normal file
10
hifive1-vp/hello/bsp/libwrap/sys/stat.c
Normal file
@ -0,0 +1,10 @@
|
||||
/* See LICENSE of license details. */
|
||||
|
||||
#include <errno.h>
|
||||
#include <sys/stat.h>
|
||||
#include "stub.h"
|
||||
|
||||
int __wrap_stat(const char* file, struct stat* st)
|
||||
{
|
||||
return _stub(EACCES);
|
||||
}
|
Reference in New Issue
Block a user