35 lines
343 B
C
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;
|
|
}
|
|
|
|
|