This website works better with JavaScript.
Home
Explore
Help
Sign In
visus
/
teensy-core-4.1
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Add missing fstat & isatty
teensy4-core
PaulStoffregen
12 years ago
parent
ee66b4f4a1
commit
f45ddee4e4
1 changed files
with
13 additions
and
0 deletions
Split View
Show Diff Stats
+13
-0
teensy3/mk20dx128.c
+ 13
- 0
teensy3/mk20dx128.c
View File
@@ -356,6 +356,19 @@ int _close(int fd)
return -1;
}
#include <sys/stat.h>
int _fstat(int fd, struct stat *st)
{
st->st_mode = S_IFCHR;
return 0;
}
int _isatty(int fd)
{
return 1;
}
int _lseek(int fd, long long offset, int whence)
{
return -1;
Write
Preview
Loading…
Cancel
Save