gadget-securevault/newlib.c
Daniele Lacamera dee9335db4 Initial import
2019-11-02 12:59:53 +01:00

35 lines
343 B
C

/*
* (c) danielinux 2019
* GPLv.2
*
* See LICENSE for details
*/
#include <stdlib.h>
#include <stdint.h>
int _close(int fd)
{
return -1;
}
int _fstat(int fd)
{
return -1;
}
int _lseek(int fd, int whence, int off)
{
return -1;
}
int _read(uint8_t *buf, int len)
{
return -1;
}
int _isatty(int fd)
{
return 1;
}